michaelsembwever commented on code in PR #2943:
URL: https://github.com/apache/cassandra/pull/2943#discussion_r1411249853
##########
src/java/org/apache/cassandra/index/sai/disk/format/IndexComponent.java:
##########
@@ -68,14 +68,19 @@ public enum IndexComponent
// per-sstable components
/**
- * Partition key token value for rows including row tombstone and static
row. (access key is rowId)
+ * An on-disk block packed index mapping rowIds to token values.
*/
- TOKEN_VALUES("TokenValues"),
+ ROW_TO_TOKEN("RowToToken"),
/**
- * An on-disk block packed index containing the starting and ending rowIds
for each partition.
+ * An on-disk block packed index mapping rowIds to partitionIds.
*/
- PARTITION_SIZES("PartitionSizes"),
+ ROW_TO_PARTITION("RowToPartition"),
+
+ /**
+ * An on-disk block packed index mapping partitionIds to the number of
rows for the partition.
+ */
+ PARTITION_TO_SIZE("PartitionToSize"),
Review Comment:
what about when reading index from 5.0-alphaX and this doesn't exist ?
(not sure how BlockPackedReader works…)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]