You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Capwell (Jira)" <ji...@apache.org> on 2024/02/05 19:09:00 UTC

[jira] [Created] (CASSANDRA-19368) Add way for SAI to disable row to token index so internal tables may leverage SAI

David Capwell created CASSANDRA-19368:
-----------------------------------------

             Summary: Add way for SAI to disable row to token index so internal tables may leverage SAI
                 Key: CASSANDRA-19368
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19368
             Project: Cassandra
          Issue Type: Improvement
          Components: Feature/2i Index
            Reporter: David Capwell


Internal tables tend to use LocalPartitioner and may not actually have murmur tokens but rather LocalPartitioner, which is variable length bytes tokens!  For internal use cases we don’t always care about paging so don’t really need this index to function.

The use case motivating this work is for Accord, we wish to add a custom SAI index on the system_accord.commands#routes column.  Since this logic is purely internal we don’t care about paging, but can not leverage SAI at this moment as it hard codes murmur tokens, and fails during memtable flush



--
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