mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
volume: fix readonly status reporting
This commit is contained in:
parent
1df13d0d6d
commit
151114ff59
|
@ -215,7 +215,7 @@ func (v *Volume) ToVolumeInformationMessage() *master_pb.VolumeInformationMessag
|
|||
FileCount: v.FileCount(),
|
||||
DeleteCount: v.DeletedCount(),
|
||||
DeletedByteCount: v.DeletedSize(),
|
||||
ReadOnly: v.noWriteOrDelete,
|
||||
ReadOnly: v.noWriteOrDelete || v.noWriteCanDelete,
|
||||
ReplicaPlacement: uint32(v.ReplicaPlacement.Byte()),
|
||||
Version: uint32(v.Version()),
|
||||
Ttl: v.Ttl.ToUint32(),
|
||||
|
|
Loading…
Reference in a new issue