Fix MOVED_NODE client event

Patch by Stefania, reviewed by brandonwilliams for CASSANDRA-8516
This commit is contained in:
Brandon Williams 2015-03-25 10:10:17 -05:00
parent 7c98030a7d
commit b296c55f95
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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);