[
https://issues.apache.org/jira/browse/CASSANDRA-2950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071479#comment-13071479
]
Cathy Daw commented on CASSANDRA-2950:
--------------------------------------
The other permutation of this bug looked like, assuming write with CL.Q:
* Insert 50 (3 nodes up)
* truncate CF (3 nodes up)
* Insert 1 (3 nodes up)
* Bring node3 down
* Delete 1 (2 nodes up)
* Bring up node3 and run repair
* Take down node1 and node2.
* Query node3 with CL.ONE: list Standard1; --- 30 rows returned
Not sure, but this looked suspicious in my logs:
{code}
INFO 01:19:45,616 Streaming to /50.57.114.45
INFO 01:19:45,689 Finished streaming session 698609583499991 from
/50.57.107.176
INFO 01:19:45,690 Finished streaming session 698609609994154 from /50.57.114.45
INFO 01:19:46,501 Finished streaming repair with /50.57.114.45 for
(0,56713727820156410577229101238628035242]: 0 oustanding to complete session
INFO 01:19:46,531 Compacted to
/var/lib/cassandra/data/Keyspace1/Standard1-tmp-g-106-Data.db. 16,646,523 to
16,646,352 (~99% of original) bytes for 30 keys. Time: 1,509ms.
INFO 01:19:46,930 Finished streaming repair with /50.57.107.176 for
(113427455640312821154458202477256070484,0]: 1 oustanding to complete session
INFO 01:19:47,619 Finished streaming repair with /50.57.114.45 for
(113427455640312821154458202477256070484,0]: 0 oustanding to complete session
INFO 01:19:48,232 Finished streaming repair with /50.57.107.176 for
(56713727820156410577229101238628035242,113427455640312821154458202477256070484]:
1 oustanding to complete session
INFO 01:19:48,856 Finished streaming repair with /50.57.114.45 for
(56713727820156410577229101238628035242,113427455640312821154458202477256070484]:
0 oustanding to complete session
{code}
> Data from truncated CF reappears after server restart
> -----------------------------------------------------
>
> Key: CASSANDRA-2950
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2950
> Project: Cassandra
> Issue Type: Bug
> Reporter: Cathy Daw
> Assignee: Sylvain Lebresne
>
> * Configure 3 node cluster
> * Ensure the java stress tool creates Keyspace1 with RF=3
> {code}
> // Run Stress Tool to generate 10 keys, 1 column
> stress --operation=INSERT -t 2 --num-keys=50 --columns=20
> --consistency-level=QUORUM --average-size-values --replication-factor=3
> --create-index=KEYS --nodes=cathy1,cathy2
> // Verify 50 keys in CLI
> use Keyspace1;
> list Standard1;
> // TRUNCATE CF in CLI
> use Keyspace1;
> truncate counter1;
> list counter1;
> // Run stress tool and verify creation of 1 key with 10 columns
> stress --operation=INSERT -t 2 --num-keys=1 --columns=10
> --consistency-level=QUORUM --average-size-values --replication-factor=3
> --create-index=KEYS --nodes=cathy1,cathy2
> // Verify 1 key in CLI
> use Keyspace1;
> list Standard1;
> // Restart all three nodes
> // You will see 51 keys in CLI
> use Keyspace1;
> list Standard1;
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira