mirror of https://github.com/apache/cassandra
Fix MOVED_NODE client event
Patch by Stefania, reviewed by brandonwilliams for CASSANDRA-8516
This commit is contained in:
parent
7c98030a7d
commit
b296c55f95
|
|
@ -1,4 +1,5 @@
|
|||
2.0.14:
|
||||
* Fix MOVED_NODE client event (CASSANDRA-8516)
|
||||
* Allow overriding MAX_OUTSTANDING_REPLAY_COUNT (CASSANDRA-7533)
|
||||
* Fix malformed JMX ObjectName containing IPv6 addresses (CASSANDRA-9027)
|
||||
* Fix potential data loss in CompressedSequentialWriter (CASSANDRA-8949)
|
||||
|
|
|
|||
|
|
@ -1618,7 +1618,7 @@ public class StorageService extends NotificationBroadcasterSupport implements IE
|
|||
if (!localTokensToRemove.isEmpty())
|
||||
SystemKeyspace.updateLocalTokens(Collections.<Token>emptyList(), localTokensToRemove);
|
||||
|
||||
if (isMoving)
|
||||
if (isMoving || operationMode == Mode.MOVING)
|
||||
{
|
||||
tokenMetadata.removeFromMoving(endpoint);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue