Details
-
New Feature
-
Status: Resolved
-
Normal
-
Resolution: Duplicate
-
None
Description
The current PerRowSecondaryIndex receives its index event after the call to BTree.update. This means that it is impossible to write an index that eagerly removes stale index entries.
It would be great to have some sort of preIndex method that gets called with the key and column family.
In addition a postIndex method that is guaranteed to get called regardless if the actual BTree operation succeeds or not would allow cleanup in the event of error.
Attachments
Issue Links
- Is contained by
-
CASSANDRA-9459 SecondaryIndex API redesign
- Resolved