mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-13 15:29:12 +01:00
A lock-ring member reachable from the masters but not from this filer makes one DistributedLock attempt wait out the TCP connect timeout, so a write whose key hashes to it stalls far past noLockServerRetryPeriod before failing. Give the attempt a 10s context deadline so the retry window can take effect; a timed-out attempt keeps no renew token, so the lock server still grants the key to at most one owner.