Mike Percy has submitted this change and it was merged.

Change subject: raft_consensus: don't call LogPrefix() if couldn't lock 
ReplicaState
......................................................................


raft_consensus: don't call LogPrefix() if couldn't lock ReplicaState

The other two notification calls use LogPrefixThreadSafe() if they can't
acquire the ReplicaState lock; this one should too.

Change-Id: Ibda7c723c773ec3cb0720c0c50c5b4af95dc3828
Reviewed-on: http://gerrit.cloudera.org:8080/7005
Reviewed-by: Mike Percy <[email protected]>
Tested-by: Kudu Jenkins
---
M src/kudu/consensus/raft_consensus.cc
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Mike Percy: Looks good to me, approved
  Kudu Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/7005
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibda7c723c773ec3cb0720c0c50c5b4af95dc3828
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Adar Dembo <[email protected]>
Gerrit-Reviewer: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>

Reply via email to