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

Avoid always locking the partition key when a table has a materialized view

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: 4.x
    • Component/s: None

      Description

      When a table has associated materialized views we must restrict other concurrent changes to the affected rows. We currently lock the entire partition.

      The issue is many updates to the same partition on the base table is now serialized effectively.

      We can't lock the primary key instead due to range tombstones cover a range of rows.

      If we created (or perhaps reuse if already exists) a clustering range class we can lock at this level.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tjake T Jake Luciani
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: