Details
-
Bug
-
Status: Open
-
Normal
-
Resolution: Unresolved
-
None
-
None
-
Normal
Description
In 2.x when the secondary index detect that a row has been deleted it removes it from the index. This approach can result in stale data being returned if one of the nodes has not yet received the deletion.
The problem come from this line|https://github.com/apache/cassandra/blob/cassandra-2.1/src/java/org/apache/cassandra/db/index/composites/CompositesSearcher.java#L284.
To avoid that problem we should remove the rows from the indexes only once they has been garbage collected.
Attachments
Issue Links
- depends upon
-
CASSANDRA-8272 2ndary indexes can return stale data
-
- Resolved
-