[
https://issues.apache.org/jira/browse/CASSGO-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
João Reis updated CASSGO-121:
-----------------------------
Test and Documentation Plan: ci
Status: Patch Available (was: Open)
> 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
> Priority: Normal
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> 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]