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

Materialized View SSTable streaming/leaving status race on decommission

    XMLWordPrintableJSON

    Details

      Description

      On decommission of a node in a cluster with materialized views, it is possible for the decommissioning node to begin streaming sstables for an MV base table before the receiving node is aware of the leaving status.

      The materialized view base/view replica pairing checks pending endpoints to handle the case when an sstable is received from a leaving node; without the leaving message, this check breaks and an exception is thrown. The streamed sstable is never applied.

      Logs from a decommissioning node and a node receiving such a stream are attached.

        Attachments

        1. receiving-node-debug.log
          1.48 MB
          Joel Knighton
        2. leaving-node-debug.log
          1.31 MB
          Joel Knighton

          Activity

            People

            • Assignee:
              pauloricardomg Paulo Motta
              Reporter:
              jkni Joel Knighton
              Authors:
              Paulo Motta
              Reviewers:
              Joel Knighton
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: