diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2022-08-01 20:40:38 +0500 |
|---|---|---|
| committer | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2022-08-01 20:40:38 +0500 |
| commit | 5209ebbeef3ccd040419f3c00444de0159a3856c (patch) | |
| tree | 5cae95f218d7f2b75faf05b1add34f412e57f46f /weed/pb | |
| parent | 78cbd8002f7449a28b7dfc24b870ce7be24f7714 (diff) | |
| download | seaweedfs-5209ebbeef3ccd040419f3c00444de0159a3856c.tar.xz seaweedfs-5209ebbeef3ccd040419f3c00444de0159a3856c.zip | |
remove percent
Diffstat (limited to 'weed/pb')
| -rw-r--r-- | weed/pb/volume_server.proto | 2 | ||||
| -rw-r--r-- | weed/pb/volume_server_pb/volume_server.pb.go | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/weed/pb/volume_server.proto b/weed/pb/volume_server.proto index 28dabd083..393819dab 100644 --- a/weed/pb/volume_server.proto +++ b/weed/pb/volume_server.proto @@ -147,7 +147,7 @@ message VacuumVolumeCompactRequest { } message VacuumVolumeCompactResponse { int64 processed_bytes = 1; - uint32 percent_load_avg_1m = 2; + float percent_load_avg_1m = 2; } message VacuumVolumeCommitRequest { diff --git a/weed/pb/volume_server_pb/volume_server.pb.go b/weed/pb/volume_server_pb/volume_server.pb.go index 8489e87f9..031314166 100644 --- a/weed/pb/volume_server_pb/volume_server.pb.go +++ b/weed/pb/volume_server_pb/volume_server.pb.go @@ -394,8 +394,8 @@ type VacuumVolumeCompactResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ProcessedBytes int64 `protobuf:"varint,1,opt,name=processed_bytes,json=processedBytes,proto3" json:"processed_bytes,omitempty"` - PercentLoadAvg_1M uint32 `protobuf:"varint,2,opt,name=percent_load_avg_1m,json=percentLoadAvg1m,proto3" json:"percent_load_avg_1m,omitempty"` + ProcessedBytes int64 `protobuf:"varint,1,opt,name=processed_bytes,json=processedBytes,proto3" json:"processed_bytes,omitempty"` + PercentLoadAvg_1M float32 `protobuf:"fixed32,2,opt,name=percent_load_avg_1m,json=percentLoadAvg1m,proto3" json:"percent_load_avg_1m,omitempty"` } func (x *VacuumVolumeCompactResponse) Reset() { @@ -437,7 +437,7 @@ func (x *VacuumVolumeCompactResponse) GetProcessedBytes() int64 { return 0 } -func (x *VacuumVolumeCompactResponse) GetPercentLoadAvg_1M() uint32 { +func (x *VacuumVolumeCompactResponse) GetPercentLoadAvg_1M() float32 { if x != nil { return x.PercentLoadAvg_1M } @@ -5625,7 +5625,7 @@ var file_volume_server_proto_rawDesc = []byte{ 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x13, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, - 0x61, 0x64, 0x5f, 0x61, 0x76, 0x67, 0x5f, 0x31, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x61, 0x64, 0x5f, 0x61, 0x76, 0x67, 0x5f, 0x31, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x10, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x76, 0x67, 0x31, 0x6d, 0x22, 0x38, 0x0a, 0x19, 0x56, 0x61, 0x63, 0x75, 0x75, 0x6d, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, |
