use longUid in ClusterRemoteWatcher, #21594

* found by test failure in SurviveNetworkInstabilitySpec
This commit is contained in:
Patrik Nordwall 2016-09-30 10:51:44 +02:00
parent 577f43233a
commit 136e64b253

View file

@ -96,7 +96,7 @@ private[cluster] class ClusterRemoteWatcher(
clusterNodes -= m.address
if (previousStatus == MemberStatus.Down) {
quarantine(m.address, Some(m.uniqueAddress.uid), s"Cluster member removed, previous status [$previousStatus]")
quarantine(m.address, Some(m.uniqueAddress.longUid), s"Cluster member removed, previous status [$previousStatus]")
} else if (arteryEnabled) {
// don't quarantine gracefully removed members (leaving) directly,
// give Cluster Singleton some time to exchange TakeOver/HandOver messages.