tengu-alt commented on code in PR #1794:
URL:
https://github.com/apache/cassandra-gocql-driver/pull/1794#discussion_r1713635813
##########
metadata.go:
##########
@@ -240,6 +262,13 @@ type schemaDescriber struct {
cache map[string]*KeyspaceMetadata
}
+// queries the cluster for schema information for a virtual keyspace
+type virtualSchemaDescriber struct {
+ session *Session
+ mu sync.Mutex
+ cache map[string]*VirtualKeyspaceMetadata
Review Comment:
I think it is preferable to use mutex, to keep the existing pattern, and
avoid unnecessary code complexity.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]