[
https://issues.apache.org/jira/browse/CASSGO-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bohdan Siryk updated CASSGO-114:
--------------------------------
Summary: I (was: Fails to initialize session with KeyspaceChangeListener
and KeyspaceOnly metadata cache mode)
> I
> -
>
> 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
> Priority: Normal
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]