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/12/10 15:55:00 UTC

[jira] [Assigned] (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 reassigned CASSGO-23:
-------------------------------

    Assignee: João Reis

> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org