sunhaihong created CASSANDRA-14932:
--------------------------------------
Summary: removenode coordinator, and its hints data will be lost
Key: CASSANDRA-14932
URL: https://issues.apache.org/jira/browse/CASSANDRA-14932
Project: Cassandra
Issue Type: Bug
Environment: cassandra version 3.11.3
Reporter: sunhaihong
There are four nodes in cluster. assume them are node A, B, C, D. enabled
hinted handoff.
1) create a keyspace with RF=2, and create a table.
2) make node B, C down(nodetool stopdaemon),
3) login in node A with cqlsh,set CONSISTENCY ANY, insert into a row(assume the
row will be stored in node B and C). The row was successfully inserted even
though the node B,C was down, because the consistency level is ANY. the
coordinator(node A) wrote hints.
4) make node A down(nodetool stopdaemon), then remove node A(nodetool
removenode ${nodeA_hostId})
5) make node B, C come back(nodetool start)
6) login in any node of B, C, D. and execute select statement with partition
key of inserted row. But there is no any data that inserted row on step 3.
These steps lead to data(on step 3 was inserted row) lost.
Is there any problem with the steps I performed above?
If yes, How to deal with this situation?
look forward to your reply, thanks.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]