Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10261

Materialized Views Timestamp issues

    XMLWordPrintableJSON

    Details

    • Severity:
      Normal

      Description

      As Tom Hobbs 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

            Activity

              People

              • Assignee:
                tjake T Jake Luciani
                Reporter:
                tjake T Jake Luciani
                Authors:
                T Jake Luciani
                Reviewers:
                Tom Hobbs
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: