[ 
https://issues.apache.org/jira/browse/CASSANDRA-10674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Knighton updated CASSANDRA-10674:
--------------------------------------
    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.

  was:
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.

A log from a node receiving such a stream is attached.


> Materialized View SSTable streaming/leaving status race on decommission
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-10674
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10674
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Coordination, Distributed Metadata
>            Reporter: Joel Knighton
>         Attachments: leaving-node-debug.log, receiving-node-debug.log
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to