Skip to content

Conversation

@bereng
Copy link
Contributor

@bereng bereng commented Aug 11, 2022

No description provided.

@bereng
Copy link
Contributor Author

bereng commented Aug 11, 2022

CI 550 repeat

@bereng
Copy link
Contributor Author

bereng commented Aug 12, 2022

CI pre-commit

@bereng bereng closed this Aug 17, 2022
@bereng bereng deleted the CASSANDRA-17809-4.1 branch August 17, 2022 07:13
michaelsembwever pushed a commit to thelastpickle/cassandra that referenced this pull request Jan 7, 2026
The test for KD-tree posting list was meant to run a query that
performs skips and then verifies if the skip metric has been
bumped up.

Unfortunately there were several problems with it:
* the query didn't do skips because the clause intersection got
  optimized out by the SAI optimizer
* the test for the metric didn't inspect the metric value, but only
  checked if the metric was updated; so essentially it boiled down
  to checking if the index was used
* the metric value incorrectly recorded queries with no skips, because
  the histogram was configured to not allow zeroes.

In addition, the usage of index is dependent on the version of the
optimizer, so that made the test behave differently between DC and EC
index version. Now that we disable the optimizer for this test,
that difference is gone.

Fixes https://github.com/riptano/cndb/issues/13830
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.

1 participant