EC volume supports expiration and displays expiration message when executing volume.list (#5895)
* ec volume expire * volume.list show DestroyTime * comments * code optimization --------- Co-authored-by: xuwenfeng <xuwenfeng1@zto.com>
This commit is contained in:
@@ -122,6 +122,7 @@ message VolumeEcShardInformationMessage {
|
||||
string collection = 2;
|
||||
uint32 ec_index_bits = 3;
|
||||
string disk_type = 4;
|
||||
uint64 destroy_time = 5; // used to record the destruction time of ec volume
|
||||
}
|
||||
|
||||
message StorageBackend {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -479,6 +479,7 @@ message VolumeInfo {
|
||||
string replication = 3;
|
||||
uint32 BytesOffset = 4;
|
||||
int64 dat_file_size = 5; // used for EC encoded volumes to store the original file size
|
||||
uint64 DestroyTime = 6; // used to record the destruction time of ec volume
|
||||
}
|
||||
|
||||
// tiered storage
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user