[
https://issues.apache.org/jira/browse/CASSGO-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17938313#comment-17938313
]
João Reis commented on CASSGO-22:
---------------------------------
Posting an update here: opened a PR with my proposal to fix this issue:
[https://github.com/apache/cassandra-gocql-driver/pull/1848]
The details of the proposal are outlined in the PR description
> Don't mutate Query/Batch
> -------------------------
>
> Key: CASSGO-22
> URL: https://issues.apache.org/jira/browse/CASSGO-22
> Project: Apache Cassandra Go driver
> Issue Type: Improvement
> Components: Core
> Reporter: João Reis
> Assignee: Lukasz Antoniak
> Priority: Normal
> Fix For: 2.0.0
>
> Time Spent: 5h 10m
> Remaining Estimate: 0h
>
> https://github.com/apache/cassandra-gocql-driver/issues/1447
> {quote}Currently queries are mutated while being executed, the query metrics
> and the consistency are both changed. Instead move query metrics to the Iter
> and remove the need to change the queries consistency for speculation.{quote}
> {quote}Also page state is mutated and the metrics are shared between multiple
> queries in a single iter (so attempt count is not accurate for queries) -
> #1508 and #1511 are related.{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]