You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Caleb Rackliffe (Jira)" <ji...@apache.org> on 2025/09/04 15:46:00 UTC

[jira] [Created] (CASSANDRA-20888) Minor improvements and hardening for IndexHints

Caleb Rackliffe created CASSANDRA-20888:
-------------------------------------------

             Summary: Minor improvements and hardening for IndexHints
                 Key: CASSANDRA-20888
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20888
             Project: Apache Cassandra
          Issue Type: Improvement
          Components: Feature/2i Index, Feature/SAI
            Reporter: Caleb Rackliffe
            Assignee: Caleb Rackliffe


There are some follow-up items for CASSANDRA-18112, mostly related to the IndexHints class:

1.) We can serialize vints rather than shorts in the IndexSetSerializer
2.) The limit on the number of included/excluded indexes is way too high. It should be something like the guardrail on indexes per table, not Short.MAX_VALUE
3.) notExcluded() can return an Iterable and avoid set creation in some cases
4.) MessagingService#endpointsWithConnectionsOnVersionBelow() should be able to short-circuit faster in the inner loop when any messaging type detects a bad node



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org