[
https://issues.apache.org/jira/browse/CASSGO-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bohdan Siryk updated CASSGO-114:
--------------------------------
Description:
There are a couple of things that should be remediated before release:
- bug with KeyspaceOnly metadata cache mode and keyspace change listener. By
design, it should be possible to set a keyspace change listener when CacheMode
= gocql.KeyspaceOnly, but currently it fails with the error
- pointer receiver for HostListenersMux, which is inconsistent with other
multiplexers
- misleading debug logs in handleSchemaChange-like functions
was:
There are a couple of things that should be remediated before release:
- bug with KeyspaceOnly metadata cache mode and keyspace change listener
- pointer receiver for HostListenersMux, which is inconsistent with other
multiplexers
- misleading debug logs in handleSchemaChange-like functions
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}
> Improve code assurance code added by CASSGO-100
> -----------------------------------------------
>
> 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
>
> There are a couple of things that should be remediated before release:
> - bug with KeyspaceOnly metadata cache mode and keyspace change listener. By
> design, it should be possible to set a keyspace change listener when
> CacheMode = gocql.KeyspaceOnly, but currently it fails with the error
> - pointer receiver for HostListenersMux, which is inconsistent with other
> multiplexers
> - misleading debug logs in handleSchemaChange-like functions
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]