[
https://issues.apache.org/jira/browse/CASSGO-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17904559#comment-17904559
]
João Reis commented on CASSGO-23:
---------------------------------
I'll work on this.
> 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: João Reis
> Priority: Normal
> Fix For: 2.0.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]