mirror of https://github.com/apache/cassandra
Fix isJoined return true only after becoming cluster member
patch by yukim; reviewed by tjake for CASANDRA-11007
This commit is contained in:
parent
3c55732fa4
commit
8408c76aff
|
|
@ -1,4 +1,5 @@
|
|||
2.1.13
|
||||
* Fix isJoined return true only after becoming cluster member (CASANDRA-11007)
|
||||
* Fix bad gossip generation seen in long-running clusters (CASSANDRA-10969)
|
||||
* Avoid NPE when incremental repair fails (CASSANDRA-10909)
|
||||
* Unmark sstables compacting once they are done in cleanup/scrub/upgradesstables (CASSANDRA-10829)
|
||||
|
|
|
|||
|
|
@ -1038,7 +1038,7 @@ public class StorageService extends NotificationBroadcasterSupport implements IE
|
|||
|
||||
public boolean isJoined()
|
||||
{
|
||||
return joined && !isSurveyMode;
|
||||
return tokenMetadata.isMember(FBUtilities.getBroadcastAddress());
|
||||
}
|
||||
|
||||
public void rebuild(String sourceDc)
|
||||
|
|
|
|||
Loading…
Reference in New Issue