Yuji Ito created CASSANDRA-12960:
------------------------------------

             Summary: Pending hinted hand-offs are replayed after TRUNCATE
                 Key: CASSANDRA-12960
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12960
             Project: Cassandra
          Issue Type: Bug
          Components: Streaming and Messaging
         Environment: Cassandra 2.2.8
Amazon Linux AMI 2016.03

            Reporter: Yuji Ito
            Priority: Minor
         Attachments: stale_data.sh

I could read stale data after truncating a table.
The issue happens when the truncation is executed while a node is starting.
According to logs, pending hinted hand-offs were replayed after the truncation.

*cluster*:
- C* 2.2.8
- a cluster has 3 nodes
- replication_factor: 3

*steps to reproduce* (the attached script):
# kill a node
# insert/update some records
# restart the killed node
# truncate the table (not to wait for the killed node's startup)
# kill another node (this step isn't essential)
# read all data




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

Reply via email to