From 7d6955297497704e248311d56a31fd457ee619af Mon Sep 17 00:00:00 2001 From: chrislu Date: Tue, 26 Mar 2024 21:51:28 -0700 Subject: [PATCH] log server list --- weed/cluster/lock_manager/distributed_lock_manager.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/weed/cluster/lock_manager/distributed_lock_manager.go b/weed/cluster/lock_manager/distributed_lock_manager.go index 472d60778..7de78410f 100644 --- a/weed/cluster/lock_manager/distributed_lock_manager.go +++ b/weed/cluster/lock_manager/distributed_lock_manager.go @@ -55,7 +55,8 @@ func (dlm *DistributedLockManager) FindLockOwner(key string) (owner string, move return } if movedTo != dlm.Host { - glog.V(0).Infof("lock %s not on current %s but on %s", key, dlm.Host, movedTo) + servers := dlm.LockRing.GetSnapshot() + glog.V(0).Infof("lock %s not on current %s but on %s from %v", key, dlm.Host, movedTo, servers) return } owner, err = dlm.lockManager.GetLockOwner(key)