|
|
@ -2924,6 +2924,7 @@ type VolumeEcShardsGenerateRequest struct { |
|
|
state protoimpl.MessageState `protogen:"open.v1"` |
|
|
state protoimpl.MessageState `protogen:"open.v1"` |
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` |
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` |
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"` |
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"` |
|
|
|
|
|
Generation uint32 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` // generation to create, defaults to 0
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
unknownFields protoimpl.UnknownFields |
|
|
sizeCache protoimpl.SizeCache |
|
|
sizeCache protoimpl.SizeCache |
|
|
} |
|
|
} |
|
|
@ -2972,6 +2973,13 @@ func (x *VolumeEcShardsGenerateRequest) GetCollection() string { |
|
|
return "" |
|
|
return "" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func (x *VolumeEcShardsGenerateRequest) GetGeneration() uint32 { |
|
|
|
|
|
if x != nil { |
|
|
|
|
|
return x.Generation |
|
|
|
|
|
} |
|
|
|
|
|
return 0 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
type VolumeEcShardsGenerateResponse struct { |
|
|
type VolumeEcShardsGenerateResponse struct { |
|
|
state protoimpl.MessageState `protogen:"open.v1"` |
|
|
state protoimpl.MessageState `protogen:"open.v1"` |
|
|
unknownFields protoimpl.UnknownFields |
|
|
unknownFields protoimpl.UnknownFields |
|
|
@ -3012,6 +3020,7 @@ type VolumeEcShardsRebuildRequest struct { |
|
|
state protoimpl.MessageState `protogen:"open.v1"` |
|
|
state protoimpl.MessageState `protogen:"open.v1"` |
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` |
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` |
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"` |
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"` |
|
|
|
|
|
Generation uint32 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` // generation to rebuild, defaults to 0
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
unknownFields protoimpl.UnknownFields |
|
|
sizeCache protoimpl.SizeCache |
|
|
sizeCache protoimpl.SizeCache |
|
|
} |
|
|
} |
|
|
@ -3060,6 +3069,13 @@ func (x *VolumeEcShardsRebuildRequest) GetCollection() string { |
|
|
return "" |
|
|
return "" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func (x *VolumeEcShardsRebuildRequest) GetGeneration() uint32 { |
|
|
|
|
|
if x != nil { |
|
|
|
|
|
return x.Generation |
|
|
|
|
|
} |
|
|
|
|
|
return 0 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
type VolumeEcShardsRebuildResponse struct { |
|
|
type VolumeEcShardsRebuildResponse struct { |
|
|
state protoimpl.MessageState `protogen:"open.v1"` |
|
|
state protoimpl.MessageState `protogen:"open.v1"` |
|
|
RebuiltShardIds []uint32 `protobuf:"varint,1,rep,packed,name=rebuilt_shard_ids,json=rebuiltShardIds,proto3" json:"rebuilt_shard_ids,omitempty"` |
|
|
RebuiltShardIds []uint32 `protobuf:"varint,1,rep,packed,name=rebuilt_shard_ids,json=rebuiltShardIds,proto3" json:"rebuilt_shard_ids,omitempty"` |
|
|
@ -3114,6 +3130,7 @@ type VolumeEcShardsCopyRequest struct { |
|
|
CopyEcjFile bool `protobuf:"varint,6,opt,name=copy_ecj_file,json=copyEcjFile,proto3" json:"copy_ecj_file,omitempty"` |
|
|
CopyEcjFile bool `protobuf:"varint,6,opt,name=copy_ecj_file,json=copyEcjFile,proto3" json:"copy_ecj_file,omitempty"` |
|
|
CopyVifFile bool `protobuf:"varint,7,opt,name=copy_vif_file,json=copyVifFile,proto3" json:"copy_vif_file,omitempty"` |
|
|
CopyVifFile bool `protobuf:"varint,7,opt,name=copy_vif_file,json=copyVifFile,proto3" json:"copy_vif_file,omitempty"` |
|
|
DiskId uint32 `protobuf:"varint,8,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` // Target disk ID for storing EC shards
|
|
|
DiskId uint32 `protobuf:"varint,8,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` // Target disk ID for storing EC shards
|
|
|
|
|
|
Generation uint32 `protobuf:"varint,9,opt,name=generation,proto3" json:"generation,omitempty"` // generation to copy, defaults to 0
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
unknownFields protoimpl.UnknownFields |
|
|
sizeCache protoimpl.SizeCache |
|
|
sizeCache protoimpl.SizeCache |
|
|
} |
|
|
} |
|
|
@ -3204,6 +3221,13 @@ func (x *VolumeEcShardsCopyRequest) GetDiskId() uint32 { |
|
|
return 0 |
|
|
return 0 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func (x *VolumeEcShardsCopyRequest) GetGeneration() uint32 { |
|
|
|
|
|
if x != nil { |
|
|
|
|
|
return x.Generation |
|
|
|
|
|
} |
|
|
|
|
|
return 0 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
type VolumeEcShardsCopyResponse struct { |
|
|
type VolumeEcShardsCopyResponse struct { |
|
|
state protoimpl.MessageState `protogen:"open.v1"` |
|
|
state protoimpl.MessageState `protogen:"open.v1"` |
|
|
unknownFields protoimpl.UnknownFields |
|
|
unknownFields protoimpl.UnknownFields |
|
|
@ -3772,6 +3796,7 @@ type VolumeEcShardsToVolumeRequest struct { |
|
|
state protoimpl.MessageState `protogen:"open.v1"` |
|
|
state protoimpl.MessageState `protogen:"open.v1"` |
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` |
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` |
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"` |
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"` |
|
|
|
|
|
Generation uint32 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` // generation to convert from, defaults to 0
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
unknownFields protoimpl.UnknownFields |
|
|
sizeCache protoimpl.SizeCache |
|
|
sizeCache protoimpl.SizeCache |
|
|
} |
|
|
} |
|
|
@ -3820,6 +3845,13 @@ func (x *VolumeEcShardsToVolumeRequest) GetCollection() string { |
|
|
return "" |
|
|
return "" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func (x *VolumeEcShardsToVolumeRequest) GetGeneration() uint32 { |
|
|
|
|
|
if x != nil { |
|
|
|
|
|
return x.Generation |
|
|
|
|
|
} |
|
|
|
|
|
return 0 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
type VolumeEcShardsToVolumeResponse struct { |
|
|
type VolumeEcShardsToVolumeResponse struct { |
|
|
state protoimpl.MessageState `protogen:"open.v1"` |
|
|
state protoimpl.MessageState `protogen:"open.v1"` |
|
|
unknownFields protoimpl.UnknownFields |
|
|
unknownFields protoimpl.UnknownFields |
|
|
@ -6314,20 +6346,26 @@ const file_volume_server_proto_rawDesc = "" + |
|
|
"\bsince_ns\x18\x02 \x01(\x04R\asinceNs\x120\n" + |
|
|
"\bsince_ns\x18\x02 \x01(\x04R\asinceNs\x120\n" + |
|
|
"\x14idle_timeout_seconds\x18\x03 \x01(\rR\x12idleTimeoutSeconds\x120\n" + |
|
|
"\x14idle_timeout_seconds\x18\x03 \x01(\rR\x12idleTimeoutSeconds\x120\n" + |
|
|
"\x14source_volume_server\x18\x04 \x01(\tR\x12sourceVolumeServer\"\x1c\n" + |
|
|
"\x14source_volume_server\x18\x04 \x01(\tR\x12sourceVolumeServer\"\x1c\n" + |
|
|
"\x1aVolumeTailReceiverResponse\"\\\n" + |
|
|
|
|
|
|
|
|
"\x1aVolumeTailReceiverResponse\"|\n" + |
|
|
"\x1dVolumeEcShardsGenerateRequest\x12\x1b\n" + |
|
|
"\x1dVolumeEcShardsGenerateRequest\x12\x1b\n" + |
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" + |
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" + |
|
|
"\n" + |
|
|
"\n" + |
|
|
"collection\x18\x02 \x01(\tR\n" + |
|
|
"collection\x18\x02 \x01(\tR\n" + |
|
|
"collection\" \n" + |
|
|
|
|
|
"\x1eVolumeEcShardsGenerateResponse\"[\n" + |
|
|
|
|
|
|
|
|
"collection\x12\x1e\n" + |
|
|
|
|
|
"\n" + |
|
|
|
|
|
"generation\x18\x03 \x01(\rR\n" + |
|
|
|
|
|
"generation\" \n" + |
|
|
|
|
|
"\x1eVolumeEcShardsGenerateResponse\"{\n" + |
|
|
"\x1cVolumeEcShardsRebuildRequest\x12\x1b\n" + |
|
|
"\x1cVolumeEcShardsRebuildRequest\x12\x1b\n" + |
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" + |
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" + |
|
|
"\n" + |
|
|
"\n" + |
|
|
"collection\x18\x02 \x01(\tR\n" + |
|
|
"collection\x18\x02 \x01(\tR\n" + |
|
|
"collection\"K\n" + |
|
|
|
|
|
|
|
|
"collection\x12\x1e\n" + |
|
|
|
|
|
"\n" + |
|
|
|
|
|
"generation\x18\x03 \x01(\rR\n" + |
|
|
|
|
|
"generation\"K\n" + |
|
|
"\x1dVolumeEcShardsRebuildResponse\x12*\n" + |
|
|
"\x1dVolumeEcShardsRebuildResponse\x12*\n" + |
|
|
"\x11rebuilt_shard_ids\x18\x01 \x03(\rR\x0frebuiltShardIds\"\xa4\x02\n" + |
|
|
|
|
|
|
|
|
"\x11rebuilt_shard_ids\x18\x01 \x03(\rR\x0frebuiltShardIds\"\xc4\x02\n" + |
|
|
"\x19VolumeEcShardsCopyRequest\x12\x1b\n" + |
|
|
"\x19VolumeEcShardsCopyRequest\x12\x1b\n" + |
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" + |
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" + |
|
|
"\n" + |
|
|
"\n" + |
|
|
@ -6338,7 +6376,10 @@ const file_volume_server_proto_rawDesc = "" + |
|
|
"\x10source_data_node\x18\x05 \x01(\tR\x0esourceDataNode\x12\"\n" + |
|
|
"\x10source_data_node\x18\x05 \x01(\tR\x0esourceDataNode\x12\"\n" + |
|
|
"\rcopy_ecj_file\x18\x06 \x01(\bR\vcopyEcjFile\x12\"\n" + |
|
|
"\rcopy_ecj_file\x18\x06 \x01(\bR\vcopyEcjFile\x12\"\n" + |
|
|
"\rcopy_vif_file\x18\a \x01(\bR\vcopyVifFile\x12\x17\n" + |
|
|
"\rcopy_vif_file\x18\a \x01(\bR\vcopyVifFile\x12\x17\n" + |
|
|
"\adisk_id\x18\b \x01(\rR\x06diskId\"\x1c\n" + |
|
|
|
|
|
|
|
|
"\adisk_id\x18\b \x01(\rR\x06diskId\x12\x1e\n" + |
|
|
|
|
|
"\n" + |
|
|
|
|
|
"generation\x18\t \x01(\rR\n" + |
|
|
|
|
|
"generation\"\x1c\n" + |
|
|
"\x1aVolumeEcShardsCopyResponse\"w\n" + |
|
|
"\x1aVolumeEcShardsCopyResponse\"w\n" + |
|
|
"\x1bVolumeEcShardsDeleteRequest\x12\x1b\n" + |
|
|
"\x1bVolumeEcShardsDeleteRequest\x12\x1b\n" + |
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" + |
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" + |
|
|
@ -6381,12 +6422,15 @@ const file_volume_server_proto_rawDesc = "" + |
|
|
"collection\x12\x19\n" + |
|
|
"collection\x12\x19\n" + |
|
|
"\bfile_key\x18\x03 \x01(\x04R\afileKey\x12\x18\n" + |
|
|
"\bfile_key\x18\x03 \x01(\x04R\afileKey\x12\x18\n" + |
|
|
"\aversion\x18\x04 \x01(\rR\aversion\"\x1c\n" + |
|
|
"\aversion\x18\x04 \x01(\rR\aversion\"\x1c\n" + |
|
|
"\x1aVolumeEcBlobDeleteResponse\"\\\n" + |
|
|
|
|
|
|
|
|
"\x1aVolumeEcBlobDeleteResponse\"|\n" + |
|
|
"\x1dVolumeEcShardsToVolumeRequest\x12\x1b\n" + |
|
|
"\x1dVolumeEcShardsToVolumeRequest\x12\x1b\n" + |
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" + |
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" + |
|
|
"\n" + |
|
|
"\n" + |
|
|
"collection\x18\x02 \x01(\tR\n" + |
|
|
"collection\x18\x02 \x01(\tR\n" + |
|
|
"collection\" \n" + |
|
|
|
|
|
|
|
|
"collection\x12\x1e\n" + |
|
|
|
|
|
"\n" + |
|
|
|
|
|
"generation\x18\x03 \x01(\rR\n" + |
|
|
|
|
|
"generation\" \n" + |
|
|
"\x1eVolumeEcShardsToVolumeResponse\"8\n" + |
|
|
"\x1eVolumeEcShardsToVolumeResponse\"8\n" + |
|
|
"\x19VolumeEcShardsInfoRequest\x12\x1b\n" + |
|
|
"\x19VolumeEcShardsInfoRequest\x12\x1b\n" + |
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\"a\n" + |
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\"a\n" + |
|
|
|