fix on finding lock owner

This commit is contained in:
Chris Lu
2024-02-05 17:30:14 -08:00
parent c471265837
commit fa72761bb8
3 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ func (dlm *DistributedLockManager) FindLockOwner(key string) (owner string, move
return
}
if movedTo != dlm.Host {
glog.V(0).Infof("lock %s not on %s: to %s", key, dlm.Host, movedTo)
glog.V(0).Infof("lock %s not on current %s but on %s", key, dlm.Host, movedTo)
return
}
owner, err = dlm.lockManager.GetLockOwner(key)