mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-07-07 16:46:37 +00:00
597d383ca4
Add sync.RWMutex to ChunkTransferStatus and lock around all field mutations in fetchAndWrite. ActiveTransfers now returns value copies under RLock so callers get immutable snapshots.