Bohdan Siryk created CASSGO-121:
-----------------------------------
Summary: Reduce mutex locking for HostInfo and remove unused
fields in ringDescriber
Key: CASSGO-121
URL: https://issues.apache.org/jira/browse/CASSGO-121
Project: Apache Cassandra Go driver
Issue Type: Improvement
Reporter: Bohdan Siryk
There are a couple of unused fields in the ringDescriber struct:
{*}prevHosts{*}, {*}prevPartitioner{*}. As they are never populated, the mutex
might be removed as well.
Also, locking on Hostinfo might be narrowed to read-locking, where possible -
applications that have query observers might benefit.
GH issue: https://github.com/apache/cassandra-gocql-driver/issues/1945
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]