Skip to content

Reduce allocations in DefaultQueryOptions when read thresholds are en…#4883

Open
frankgh wants to merge 1 commit into
apache:trunkfrom
frankgh:CASSANDRA-21467
Open

Reduce allocations in DefaultQueryOptions when read thresholds are en…#4883
frankgh wants to merge 1 commit into
apache:trunkfrom
frankgh:CASSANDRA-21467

Conversation

@frankgh

@frankgh frankgh commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

…abled

patch by Francisco Guerrero; reviewed by TBD for CASSANDRA-21467

…abled

patch by Francisco Guerrero; reviewed by TBD for CASSANDRA-21467
@netudima

netudima commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

technically we may get a case when a value is updated in the middle of a query execution and two subsequent get calls can give non-consistent results.. What is about keeping an instance of ReadThresholds on DatabaseDescriptor level as an object and replace it with a new one if values changed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants