worryg0d commented on issue #1918: URL: https://github.com/apache/cassandra-gocql-driver/issues/1918#issuecomment-3589289695
Oh, I'm dumb. The log says `system.schema_keyspaces`, not `system_schema.keyspaces`: Quick searching for the `SELECT durable_writes, strategy_class, strategy_options` query in gocql codebase: 1. [getKeyspaceMetadata()](https://github.com/apache/cassandra-gocql-driver/blob/0089073b21049a32fa380f4b626752378896de86/metadata.go#L463C1-L520C2) method which 2. The above method is being called by [schemaDescriber.refreshSchema](https://github.com/apache/cassandra-gocql-driver/blob/0089073b21049a32fa380f4b626752378896de86/metadata.go#L291) 3. refreshScema called by [schemaDescriber.getSchema()](https://github.com/apache/cassandra-gocql-driver/blob/0089073b21049a32fa380f4b626752378896de86/metadata.go#L263) 4. And finnaly this is being called by public [Session.KeyspaceMetadata()](https://github.com/apache/cassandra-gocql-driver/blob/0089073b21049a32fa380f4b626752378896de86/session.go#L590) method So session.useSystemSchema is false for some reason.... -- 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]
