Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
Signed-off-by: Tengxiao Wang <[email protected]>
  • Loading branch information
twang-ps committed Dec 16, 2023
1 parent 9fbc95e commit 94eefd9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4146,22 +4146,22 @@ message DefragPoolStatus {
// NumIterations counts the number of times the pool gets defraged
uint32 num_iterations = 1;
// Running indicates whether the pool is being defraged
bool running = 2;
bool running = 2;
// LastSuccess indicates whether the last run of defrag on this pool was successful
bool last_success = 3;
bool last_success = 3;
// LastStartTime is the start time of the latest run (current or last run) on this pool
google.protobuf.Timestamp last_start_time = 4;
google.protobuf.Timestamp last_start_time = 4;
// LastCompleteTime is the completion time of the last run on this pool
google.protobuf.Timestamp last_complete_time = 5;
google.protobuf.Timestamp last_complete_time = 5;
// LastVolumeId is the volume on which defrag has started but not yet finished
// if provided, volume is currently being defraged or was interrupted in the last run of defrag
string last_volume_id = 6;
string last_volume_id = 6;
// LastOffset is the offset of the last defrag command executed on the pending volume
// -1 means no volume is in a pending state (either not started or fully finished)
int64 last_offset = 7;
int64 last_offset = 7;
// ProgressPercentage describes the progress of the lastest defrag job (current or last run) on this pool
// percentage = bytes completed / sum of file sizes
int32 progress_percentage = 8;
int32 progress_percentage = 8;
}

message DiagsCollectionStatus {
Expand Down

0 comments on commit 94eefd9

Please sign in to comment.