diff --git a/CHANGES.txt b/CHANGES.txt index fecc7e3447..e17e82f73c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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) diff --git a/src/java/org/apache/cassandra/service/StorageService.java b/src/java/org/apache/cassandra/service/StorageService.java index 622380e88b..d997459c38 100644 --- a/src/java/org/apache/cassandra/service/StorageService.java +++ b/src/java/org/apache/cassandra/service/StorageService.java @@ -1618,7 +1618,7 @@ public class StorageService extends NotificationBroadcasterSupport implements IE if (!localTokensToRemove.isEmpty()) SystemKeyspace.updateLocalTokens(Collections.emptyList(), localTokensToRemove); - if (isMoving) + if (isMoving || operationMode == Mode.MOVING) { tokenMetadata.removeFromMoving(endpoint);