Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Normal
Description
As thobbs mentioned in CASSANDRA-9664 there are issues dealing with updates to individual cells which can mask data from the base table in the view when trying to filter data correctly in the view.
Unfortunately, this same issue exists for all MV tables with regular columns.
In the earlier versions of MV we did have a fix for this which I now can see is ineffective for all situations.
I've pushed some unit tests to show the issue (similar to tylers) and a fix. The idea is we keep the base table's timestamps per cell as it so we can always tell (per replica) which version of the record is the latest. Since the base table always writes the entire record to the view (part of our earlier partial fix) we can ensure the view record contains at least views primary key timestamp.
Attachments
Issue Links
- is related to
-
CASSANDRA-10368 Support Restricting non-PK Cols in Materialized View Select Statements
- Resolved
- relates to
-
CASSANDRA-13409 Materialized Views: View cells are resurrected
- Resolved