mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-3.0' into cassandra-3.11
This commit is contained in:
commit
35dc3b652f
|
|
@ -896,8 +896,9 @@ public class Gossiper implements IFailureDetectionEventListener, GossiperMBean
|
|||
* than the version passed in. In this case we also send the old
|
||||
* heart beat and throw it away on the receiver if it is redundant.
|
||||
*/
|
||||
int localHbGeneration = epState.getHeartBeatState().getGeneration();
|
||||
int localHbVersion = epState.getHeartBeatState().getHeartBeatVersion();
|
||||
HeartBeatState heartBeatState = epState.getHeartBeatState();
|
||||
int localHbGeneration = heartBeatState.getGeneration();
|
||||
int localHbVersion = heartBeatState.getHeartBeatVersion();
|
||||
if (localHbVersion > version)
|
||||
{
|
||||
reqdEndpointState = new EndpointState(new HeartBeatState(localHbGeneration, localHbVersion));
|
||||
|
|
|
|||
Loading…
Reference in New Issue