[ https://issues.apache.org/jira/browse/CASSGO-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
João Reis updated CASSGO-23: ---------------------------- Source Control Link: https://github.com/apache/cassandra-gocql-driver/commit/b25149222ac025a202767c83d3a7f49e7cf0f623 Resolution: Fixed Status: Resolved (was: Ready to Commit) > 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 > > Time Spent: 2h > 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-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org