This commit is contained in:
maoling 2026-08-01 14:11:13 +03:00 committed by GitHub
commit 7081ba9c20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -264,10 +264,9 @@ public class Gossiper implements IFailureDetectionEventListener, GossiperMBean,
{
public void run()
{
taskLock.lock();
try
{
taskLock.lock();
/* Update the local heartbeat counter. */
EndpointState epstate = endpointStateMap.get(getBroadcastAddressAndPort());
if (epstate == null)