You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alan Boudreault (JIRA)" <ji...@apache.org> on 2015/03/23 20:18:53 UTC

[jira] [Updated] (CASSANDRA-9022) Node Cleanup deletes all its data after a new node joined the cluster

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

Alan Boudreault updated CASSANDRA-9022:
---------------------------------------
    Summary: Node Cleanup deletes all its data after a new node joined the cluster  (was: Node Cleanup deletes all its data )

> Node Cleanup deletes all its data after a new node joined the cluster
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-9022
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9022
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Alan Boudreault
>            Priority: Critical
>             Fix For: 2.1.4
>
>         Attachments: bisect.sh, results_cassandra_2.1.3.txt, results_cassandra_2.1_branch.txt
>
>
> I try to add a node in my cluster and doing some cleanup deleted all my data on a node. This makes the cluster totally broken since all next read seem to not be able to validate the data. Even a repair on the problematic node doesn't fix the issue.  I've attached the bisect script used and the output results of the procedure.
> Procedure to reproduce:
> {code}
> ccm stop && ccm remove
> ccm create -n 2 --install-dir=path/to/cassandra-2.1/branch demo
> ccm start
> ccm node1 stress -- write n=1000000 -schema replication\(factor=2\) -rate threads=50
> ccm node1 nodetool status
> ccm add -i 127.0.0.3 -j 7400 node3 # no auto-boostrap
> ccm node3 start
> ccm node1 nodetool status
> ccm node3 repair
> ccm node3 nodetool status
> ccm node1 nodetool cleanup
> ccm node2 nodetool cleanup
> ccm node3 nodetool cleanup
> ccm node1 nodetool status
> ccm node1 repair
> ccm node1 stress -- read n=1000000 ## CRASH Data returned was not validated ?!?
> {code}
> bisec script output:
> {code}
> $ git bisect start cassandra-2.1 cassandra-2.1.3
> $ git bisect run ~/dev/cstar/cleanup_issue/bisect.sh
> ...
> 4b05b204acfa60ecad5672c7e6068eb47b21397a is the first bad commit
> commit 4b05b204acfa60ecad5672c7e6068eb47b21397a
> Author: Benedict Elliott Smith <be...@apache.org>
> Date:   Wed Feb 11 15:49:43 2015 +0000
>     Enforce SSTableReader.first/last
>     
>     patch by benedict; reviewed by yukim for CASSANDRA-8744
> :100644 100644 3f0463731e624cbe273dcb3951b2055fa5d9e1a2 b2f894eb22b9102d410f1eabeb3e11d26727fbd3 M      CHANGES.txt
> :040000 040000 51ac2a6cd39bd2377c2e1ed6693ef789ab65a26c 79fa2501f4155a64dca2bbdcc9e578008e4e425a M      src
> bisect run success
> {code}



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