apache / apache/cassandra-gocql-driver

CASSGO-22 Dont mutate Query/Batch

Open
#1,447 2 comments 2 reactions 0 assignees View on GitHub
semver-major
Dominant language
Go
Stars
2.7k
Forks
658
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Research direction

The issue names Query, Batch, Iter, query metrics, consistency, and speculation but no files or tests. Trace where Query and Batch execution mutates metrics or consistency, then identify the Iter path and define completion as execution no longer mutating queries while metrics remain available and speculation still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
cassandra, go
Domain
database
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.