You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Bohdan Siryk (Jira)" <ji...@apache.org> on 2026/03/19 16:30:00 UTC

[jira] [Created] (CASSGO-114) Fails to initialize session with KeyspaceChangeListener and KeyspaceOnly metadata cache mode

Bohdan Siryk created CASSGO-114:
-----------------------------------

             Summary: Fails to initialize session with KeyspaceChangeListener and KeyspaceOnly metadata cache mode
                 Key: CASSGO-114
                 URL: https://issues.apache.org/jira/browse/CASSGO-114
             Project: Apache Cassandra Go driver
          Issue Type: Bug
          Components: Core
            Reporter: Bohdan Siryk


By design, it should be possible to set a keyspace change listener when CacheMode = gocql.KeyspaceOnly, but currently it fails with the error
{code:java}
// CacheMode controls how the driver reads and caches schema metadata from Cassandra system tables. // // Also, it affects the behavior of schema change listeners. // // If CacheMode is [KeyspaceOnly], only [KeyspaceChangeListener] will be notified, // having other listeners registered will result in an error during session creation. // // If CacheMode is [Disabled], having these listeners will result in an error during session creation. // // See [MetadataCacheMode] for more details. CacheMode MetadataCacheMode{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org