mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
avoid dead lock from dataFileAccessLock
fix https://github.com/chrislusf/seaweedfs/issues/1043
This commit is contained in:
parent
3cef29cbc3
commit
f9c1cd7370
|
@ -23,7 +23,7 @@ func (v *Volume) GetVolumeSyncStatus() *volume_server_pb.VolumeSyncStatusRespons
|
||||||
syncStatus.TailOffset = uint64(stat.Size())
|
syncStatus.TailOffset = uint64(stat.Size())
|
||||||
}
|
}
|
||||||
syncStatus.Collection = v.Collection
|
syncStatus.Collection = v.Collection
|
||||||
syncStatus.IdxFileSize = v.IndexFileSize()
|
syncStatus.IdxFileSize = v.nm.IndexFileSize()
|
||||||
syncStatus.CompactRevision = uint32(v.SuperBlock.CompactionRevision)
|
syncStatus.CompactRevision = uint32(v.SuperBlock.CompactionRevision)
|
||||||
syncStatus.Ttl = v.SuperBlock.Ttl.String()
|
syncStatus.Ttl = v.SuperBlock.Ttl.String()
|
||||||
syncStatus.Replication = v.SuperBlock.ReplicaPlacement.String()
|
syncStatus.Replication = v.SuperBlock.ReplicaPlacement.String()
|
||||||
|
|
Loading…
Reference in a new issue