SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
volume info collect compact revision number
Chris Luece9d133122f
diff --git a/weed/pb/master.proto b/weed/pb/master.protoindex ad530d909d..ff47a16d4d 100644--- a/weed/pb/master.proto+++ b/weed/pb/master.proto@@ -56,6 +56,7 @@ message VolumeInformationMessage {uint32 replica_placement = 8;uint32 version = 9;uint32 ttl = 10;+ uint32 compact_revision = 11;}message Empty {diff --git a/weed/pb/master_pb/master.pb.go b/weed/pb/master_pb/master.pb.goindex f24354cd7e..a586d11b3f 100644--- a/weed/pb/master_pb/master.pb.go+++ b/weed/pb/master_pb/master.pb.go@@ -190,6 +190,7 @@ type VolumeInformationMessage struct {ReplicaPlacement uint32 `protobuf:"varint,8,opt,name=replica_placement,json=replicaPlacement" json:"replica_placement,omitempty"`Version uint32 `protobuf:"varint,9,opt,name=version" json:"version,omitempty"`Ttl uint32 `protobuf:"varint,10,opt,name=ttl" json:"ttl,omitempty"`+ CompactRevision uint32 `protobuf:"varint,11,opt,name=compact_revision,json=compactRevision" json:"compact_revision,omitempty"`}func (m *VolumeInformationMessage) Reset() { *m = VolumeInformationMessage{} }@@ -267,6 +268,13 @@ func (m *VolumeInformationMessage) GetTtl() uint32 {return 0}+func (m *VolumeInformationMessage) GetCompactRevision() uint32 {+ if m != nil {+ return m.CompactRevision+ }+ return 0+}+type Empty struct {}@@ -1428,93 +1436,94 @@ var _Seaweed_serviceDesc = grpc.ServiceDesc{func init() { proto.RegisterFile("master.proto", fileDescriptor0) }var fileDescriptor0 = []byte{- // 1394 bytes of a gzipped FileDescriptorProto- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x58, 0x4b, 0x6f, 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,- 0x10, 0x5b, 0x33, 0x2e, 0xcd, 0x53, 0x25, 0xbf, 0xca, 0xb3, 0x89, 0xb3, 0x46, 0x1e, 0x03, 0x2c,- 0x1a, 0x36, 0xd1, 0x71, 0x59, 0x9a, 0x18, 0x86, 0xd7, 0xcf, 0xd1, 0x16, 0x97, 0x7d, 0x0e, 0xbd,- 0x72, 0xeb, 0x22, 0xa3, 0x95, 0xdd, 0x49, 0x8b, 0x88, 0xe1, 0xad, 0x0b, 0x2c, 0x8a, 0x8b, 0xbf,- 0x84, 0x7e, 0xb5, 0x23, 0x11, 0x67, 0xe5, 0xc1, 0x52, 0x77, 0x1b, 0xde, 0xbe, 0xd0, 0x46, 0x07,- 0x61, 0x11, 0x95, 0x25, 0x10, 0x96, 0x22, 0xb8, 0x04, 0xc2, 0x72, 0x28, 0x3b, 0x6b, 0x87, 0x4d,- 0xf1, 0x67, 0xc7, 0xfb, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0xbf, 0x50, 0x28, 0x66, 0xfc, 0x10,- 0x00, 0x00,+ // 1416 bytes of a gzipped FileDescriptorProto+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x58, 0xcd, 0x6f, 0xdc, 0x44,+ 0x14, 0x8f, 0xbd, 0x1f, 0x59, 0xbf, 0xfd, 0xc8, 0xee, 0x24, 0x6d, 0xdd, 0x2d, 0x6d, 0xb7, 0xee,+ 0x65, 0xcb, 0x47, 0x54, 0xc2, 0x81, 0x03, 0xa0, 0xaa, 0x4d, 0x53, 0x51, 0x35, 0xd0, 0xd6, 0x69,+ 0x8b, 0x84, 0x84, 0xcc, 0xc4, 0x7e, 0x09, 0x56, 0xbc, 0xb6, 0xb1, 0x67, 0xb7, 0xd9, 0x5e, 0xb8,+ 0x70, 0x44, 0x70, 0xe0, 0xff, 0xe1, 0xc2, 0x91, 0x3f, 0x85, 0x03, 0x12, 0x77, 0x24, 0x34, 0xe3,+ 0x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x7d, 0x05, 0xbd, 0x72, 0xeb, 0x22, 0xa3, 0x95, 0xdd, 0x49, 0x89, 0x88, 0xe1,+ 0x8d, 0x73, 0x34, 0x8a, 0x83, 0xbf, 0x81, 0x7e, 0xb5, 0x23, 0x11, 0x6b, 0xe5, 0xc6, 0x52, 0x77,+ 0x1b, 0xde, 0x3c, 0x57, 0x47, 0x25, 0x61, 0x11, 0x95, 0x25, 0x12, 0x96, 0x22, 0xb8, 0x44, 0xc2,+ 0x72, 0x28, 0x5b, 0x6b, 0x87, 0x4d, 0xf1, 0xbf, 0xc8, 0x47, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff,+ 0x88, 0xac, 0x76, 0x9c, 0x27, 0x11, 0x00, 0x00,}diff --git a/weed/storage/store.go b/weed/storage/store.goindex a29f3c163d..8d4d9c55e4 100644--- a/weed/storage/store.go+++ b/weed/storage/store.go@@ -121,7 +121,9 @@ func (s *Store) Status() []*VolumeInfo {DeleteCount: v.nm.DeletedCount(),DeletedByteCount: v.nm.DeletedSize(),ReadOnly: v.readOnly,- Ttl: v.Ttl}+ Ttl: v.Ttl,+ CompactRevision: uint32(v.CompactRevision),+ }stats = append(stats, s)}location.RUnlock()diff --git a/weed/storage/volume.go b/weed/storage/volume.goindex 5cec0c5edf..22acf16537 100644--- a/weed/storage/volume.go+++ b/weed/storage/volume.go@@ -148,5 +148,6 @@ func (v *Volume) ToVolumeInformationMessage() *master_pb.VolumeInformationMessagReplicaPlacement: uint32(v.ReplicaPlacement.Byte()),Version: uint32(v.Version()),Ttl: v.Ttl.ToUint32(),+ CompactRevision: uint32(v.SuperBlock.CompactRevision),}}diff --git a/weed/storage/volume_info.go b/weed/storage/volume_info.goindex 7afad412d2..f5ddeca14a 100644--- a/weed/storage/volume_info.go+++ b/weed/storage/volume_info.go@@ -18,6 +18,7 @@ type VolumeInfo struct {DeleteCount intDeletedByteCount uint64ReadOnly bool+ CompactRevision uint32}func NewVolumeInfo(m *master_pb.VolumeInformationMessage) (vi VolumeInfo, err error) {@@ -30,6 +31,7 @@ func NewVolumeInfo(m *master_pb.VolumeInformationMessage) (vi VolumeInfo, err erDeletedByteCount: m.DeletedByteCount,ReadOnly: m.ReadOnly,Version: Version(m.Version),+ CompactRevision: m.CompactRevision,}rp, e := NewReplicaPlacementFromByte(byte(m.ReplicaPlacement))if e != nil {@@ -57,6 +59,7 @@ func (vi VolumeInfo) ToVolumeInformationMessage() *master_pb.VolumeInformationMeReplicaPlacement: uint32(vi.ReplicaPlacement.Byte()),Version: uint32(vi.Version),Ttl: vi.Ttl.ToUint32(),+ CompactRevision: vi.CompactRevision,}}