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 2024/10/30 17:37:00 UTC
[jira] [Created] (CASSGO-23) Make Session immutable
João Reis created CASSGO-23:
-------------------------------
Summary: 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
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