You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "João Reis (Jira)" <ji...@apache.org> on 2025/07/17 14:15:00 UTC
[jira] [Updated] (CASSGO-23) Make Session immutable
[ https://issues.apache.org/jira/browse/CASSGO-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
João Reis updated CASSGO-23:
----------------------------
Fix Version/s: 2.0.0-rc1
> Make Session immutable
> -----------------------
>
> Key: CASSGO-23
> URL: https://issues.apache.org/jira/browse/CASSGO-23
> Project: Apache Cassandra Go driver
> Issue Type: Improvement
> Components: Core
> Reporter: João Reis
> Assignee: Stanislav Bychkov
> Priority: Normal
> Fix For: 2.0.0, 2.0.0-rc1
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> https://github.com/apache/cassandra-gocql-driver/issues/357
> {quote}Currently Session has some fields which can be changed, such as Cons, Tracing, and some others. This requires there to be a RWMutex which needs to be acquired when executing a query to copy the options.
> I propose we make Session immutable and remove this lock.{quote}
--
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