Skip to content

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.

filer: add ObjectTransactionBatch for multi-key object writes (#9649)

Chris Lu091aad59dc98
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index da7e47e959..10505f6950 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -34,6 +34,9 @@ service SeaweedFiler {
rpc ObjectTransaction (ObjectTransactionRequest) returns (ObjectTransactionResponse) {
}
+ rpc ObjectTransactionBatch (ObjectTransactionBatchRequest) returns (ObjectTransactionBatchResponse) {
+ }
+
rpc AtomicRenameEntry (AtomicRenameEntryRequest) returns (AtomicRenameEntryResponse) {
}
rpc StreamRenameEntry (StreamRenameEntryRequest) returns (stream StreamRenameEntryResponse) {
@@ -344,6 +347,19 @@ message ObjectTransactionResponse {
FilerError error_code = 2;
}
+// ObjectTransactionBatch applies several object transactions in one round trip,
+// each under its own per-path lock and independent of the others (no cross-key
+// atomicity). A caller groups keys that route to the same owner filer and sends
+// one batch per owner, e.g. for a multi-object delete. Each response is parallel
+// to its request.
+message ObjectTransactionBatchRequest {
+ repeated ObjectTransactionRequest transactions = 1;
+}
+
+message ObjectTransactionBatchResponse {
+ repeated ObjectTransactionResponse responses = 1;
+}
+
message CreateEntryResponse {
string error = 1; // kept for human readability + backward compat
SubscribeMetadataResponse metadata_event = 2;
diff --git a/weed/pb/filer.proto b/weed/pb/filer.proto
index da7e47e959..10505f6950 100644
--- a/weed/pb/filer.proto
+++ b/weed/pb/filer.proto
@@ -34,6 +34,9 @@ service SeaweedFiler {
rpc ObjectTransaction (ObjectTransactionRequest) returns (ObjectTransactionResponse) {
}
+ rpc ObjectTransactionBatch (ObjectTransactionBatchRequest) returns (ObjectTransactionBatchResponse) {
+ }
+
rpc AtomicRenameEntry (AtomicRenameEntryRequest) returns (AtomicRenameEntryResponse) {
}
rpc StreamRenameEntry (StreamRenameEntryRequest) returns (stream StreamRenameEntryResponse) {
@@ -344,6 +347,19 @@ message ObjectTransactionResponse {
FilerError error_code = 2;
}
+// ObjectTransactionBatch applies several object transactions in one round trip,
+// each under its own per-path lock and independent of the others (no cross-key
+// atomicity). A caller groups keys that route to the same owner filer and sends
+// one batch per owner, e.g. for a multi-object delete. Each response is parallel
+// to its request.
+message ObjectTransactionBatchRequest {
+ repeated ObjectTransactionRequest transactions = 1;
+}
+
+message ObjectTransactionBatchResponse {
+ repeated ObjectTransactionResponse responses = 1;
+}
+
message CreateEntryResponse {
string error = 1; // kept for human readability + backward compat
SubscribeMetadataResponse metadata_event = 2;
diff --git a/weed/pb/filer_pb/filer.pb.go b/weed/pb/filer_pb/filer.pb.go
index 21b94d8b0e..17e630401a 100644
--- a/weed/pb/filer_pb/filer.pb.go
+++ b/weed/pb/filer_pb/filer.pb.go
@@ -1734,6 +1734,99 @@ func (x *ObjectTransactionResponse) GetErrorCode() FilerError {
return FilerError_OK
}
+// ObjectTransactionBatch applies several object transactions in one round trip,
+// each under its own per-path lock and independent of the others (no cross-key
+// atomicity). A caller groups keys that route to the same owner filer and sends
+// one batch per owner, e.g. for a multi-object delete. Each response is parallel
+// to its request.
+type ObjectTransactionBatchRequest struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ Transactions []*ObjectTransactionRequest `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *ObjectTransactionBatchRequest) Reset() {
+ *x = ObjectTransactionBatchRequest{}
+ mi := &file_filer_proto_msgTypes[18]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *ObjectTransactionBatchRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ObjectTransactionBatchRequest) ProtoMessage() {}
+
+func (x *ObjectTransactionBatchRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_filer_proto_msgTypes[18]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ObjectTransactionBatchRequest.ProtoReflect.Descriptor instead.
+func (*ObjectTransactionBatchRequest) Descriptor() ([]byte, []int) {
+ return file_filer_proto_rawDescGZIP(), []int{18}
+}
+
+func (x *ObjectTransactionBatchRequest) GetTransactions() []*ObjectTransactionRequest {
+ if x != nil {
+ return x.Transactions
+ }
+ return nil
+}
+
+type ObjectTransactionBatchResponse struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ Responses []*ObjectTransactionResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *ObjectTransactionBatchResponse) Reset() {
+ *x = ObjectTransactionBatchResponse{}
+ mi := &file_filer_proto_msgTypes[19]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *ObjectTransactionBatchResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ObjectTransactionBatchResponse) ProtoMessage() {}
+
+func (x *ObjectTransactionBatchResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_filer_proto_msgTypes[19]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ObjectTransactionBatchResponse.ProtoReflect.Descriptor instead.
+func (*ObjectTransactionBatchResponse) Descriptor() ([]byte, []int) {
+ return file_filer_proto_rawDescGZIP(), []int{19}
+}
+
+func (x *ObjectTransactionBatchResponse) GetResponses() []*ObjectTransactionResponse {
+ if x != nil {
+ return x.Responses
+ }
+ return nil
+}
+
type CreateEntryResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // kept for human readability + backward compat
@@ -1745,7 +1838,7 @@ type CreateEntryResponse struct {
func (x *CreateEntryResponse) Reset() {
*x = CreateEntryResponse{}
- mi := &file_filer_proto_msgTypes[18]
+ mi := &file_filer_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1757,7 +1850,7 @@ func (x *CreateEntryResponse) String() string {
func (*CreateEntryResponse) ProtoMessage() {}
func (x *CreateEntryResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[18]
+ mi := &file_filer_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1770,7 +1863,7 @@ func (x *CreateEntryResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use CreateEntryResponse.ProtoReflect.Descriptor instead.
func (*CreateEntryResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{18}
+ return file_filer_proto_rawDescGZIP(), []int{20}
}
func (x *CreateEntryResponse) GetError() string {
@@ -1807,7 +1900,7 @@ type UpdateEntryRequest struct {
func (x *UpdateEntryRequest) Reset() {
*x = UpdateEntryRequest{}
- mi := &file_filer_proto_msgTypes[19]
+ mi := &file_filer_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1819,7 +1912,7 @@ func (x *UpdateEntryRequest) String() string {
func (*UpdateEntryRequest) ProtoMessage() {}
func (x *UpdateEntryRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[19]
+ mi := &file_filer_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1832,7 +1925,7 @@ func (x *UpdateEntryRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use UpdateEntryRequest.ProtoReflect.Descriptor instead.
func (*UpdateEntryRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{19}
+ return file_filer_proto_rawDescGZIP(), []int{21}
}
func (x *UpdateEntryRequest) GetDirectory() string {
@@ -1879,7 +1972,7 @@ type UpdateEntryResponse struct {
func (x *UpdateEntryResponse) Reset() {
*x = UpdateEntryResponse{}
- mi := &file_filer_proto_msgTypes[20]
+ mi := &file_filer_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1891,7 +1984,7 @@ func (x *UpdateEntryResponse) String() string {
func (*UpdateEntryResponse) ProtoMessage() {}
func (x *UpdateEntryResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[20]
+ mi := &file_filer_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1904,7 +1997,7 @@ func (x *UpdateEntryResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use UpdateEntryResponse.ProtoReflect.Descriptor instead.
func (*UpdateEntryResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{20}
+ return file_filer_proto_rawDescGZIP(), []int{22}
}
func (x *UpdateEntryResponse) GetMetadataEvent() *SubscribeMetadataResponse {
@@ -1925,7 +2018,7 @@ type TouchAccessTimeRequest struct {
func (x *TouchAccessTimeRequest) Reset() {
*x = TouchAccessTimeRequest{}
- mi := &file_filer_proto_msgTypes[21]
+ mi := &file_filer_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1937,7 +2030,7 @@ func (x *TouchAccessTimeRequest) String() string {
func (*TouchAccessTimeRequest) ProtoMessage() {}
func (x *TouchAccessTimeRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[21]
+ mi := &file_filer_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1950,7 +2043,7 @@ func (x *TouchAccessTimeRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use TouchAccessTimeRequest.ProtoReflect.Descriptor instead.
func (*TouchAccessTimeRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{21}
+ return file_filer_proto_rawDescGZIP(), []int{23}
}
func (x *TouchAccessTimeRequest) GetDirectory() string {
@@ -1984,7 +2077,7 @@ type TouchAccessTimeResponse struct {
func (x *TouchAccessTimeResponse) Reset() {
*x = TouchAccessTimeResponse{}
- mi := &file_filer_proto_msgTypes[22]
+ mi := &file_filer_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1996,7 +2089,7 @@ func (x *TouchAccessTimeResponse) String() string {
func (*TouchAccessTimeResponse) ProtoMessage() {}
func (x *TouchAccessTimeResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[22]
+ mi := &file_filer_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2009,7 +2102,7 @@ func (x *TouchAccessTimeResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use TouchAccessTimeResponse.ProtoReflect.Descriptor instead.
func (*TouchAccessTimeResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{22}
+ return file_filer_proto_rawDescGZIP(), []int{24}
}
func (x *TouchAccessTimeResponse) GetPersistedAtimeNs() int64 {
@@ -2037,7 +2130,7 @@ type AppendToEntryRequest struct {
func (x *AppendToEntryRequest) Reset() {
*x = AppendToEntryRequest{}
- mi := &file_filer_proto_msgTypes[23]
+ mi := &file_filer_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2049,7 +2142,7 @@ func (x *AppendToEntryRequest) String() string {
func (*AppendToEntryRequest) ProtoMessage() {}
func (x *AppendToEntryRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[23]
+ mi := &file_filer_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2062,7 +2155,7 @@ func (x *AppendToEntryRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppendToEntryRequest.ProtoReflect.Descriptor instead.
func (*AppendToEntryRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{23}
+ return file_filer_proto_rawDescGZIP(), []int{25}
}
func (x *AppendToEntryRequest) GetDirectory() string {
@@ -2094,7 +2187,7 @@ type AppendToEntryResponse struct {
func (x *AppendToEntryResponse) Reset() {
*x = AppendToEntryResponse{}
- mi := &file_filer_proto_msgTypes[24]
+ mi := &file_filer_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2106,7 +2199,7 @@ func (x *AppendToEntryResponse) String() string {
func (*AppendToEntryResponse) ProtoMessage() {}
func (x *AppendToEntryResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[24]
+ mi := &file_filer_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2119,7 +2212,7 @@ func (x *AppendToEntryResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use AppendToEntryResponse.ProtoReflect.Descriptor instead.
func (*AppendToEntryResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{24}
+ return file_filer_proto_rawDescGZIP(), []int{26}
}
type DeleteEntryRequest struct {
@@ -2139,7 +2232,7 @@ type DeleteEntryRequest struct {
func (x *DeleteEntryRequest) Reset() {
*x = DeleteEntryRequest{}
- mi := &file_filer_proto_msgTypes[25]
+ mi := &file_filer_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2151,7 +2244,7 @@ func (x *DeleteEntryRequest) String() string {
func (*DeleteEntryRequest) ProtoMessage() {}
func (x *DeleteEntryRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[25]
+ mi := &file_filer_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2164,7 +2257,7 @@ func (x *DeleteEntryRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use DeleteEntryRequest.ProtoReflect.Descriptor instead.
func (*DeleteEntryRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{25}
+ return file_filer_proto_rawDescGZIP(), []int{27}
}
func (x *DeleteEntryRequest) GetDirectory() string {
@@ -2233,7 +2326,7 @@ type DeleteEntryResponse struct {
func (x *DeleteEntryResponse) Reset() {
*x = DeleteEntryResponse{}
- mi := &file_filer_proto_msgTypes[26]
+ mi := &file_filer_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2245,7 +2338,7 @@ func (x *DeleteEntryResponse) String() string {
func (*DeleteEntryResponse) ProtoMessage() {}
func (x *DeleteEntryResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[26]
+ mi := &file_filer_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2258,7 +2351,7 @@ func (x *DeleteEntryResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use DeleteEntryResponse.ProtoReflect.Descriptor instead.
func (*DeleteEntryResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{26}
+ return file_filer_proto_rawDescGZIP(), []int{28}
}
func (x *DeleteEntryResponse) GetError() string {
@@ -2288,7 +2381,7 @@ type AtomicRenameEntryRequest struct {
func (x *AtomicRenameEntryRequest) Reset() {
*x = AtomicRenameEntryRequest{}
- mi := &file_filer_proto_msgTypes[27]
+ mi := &file_filer_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2300,7 +2393,7 @@ func (x *AtomicRenameEntryRequest) String() string {
func (*AtomicRenameEntryRequest) ProtoMessage() {}
func (x *AtomicRenameEntryRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[27]
+ mi := &file_filer_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2313,7 +2406,7 @@ func (x *AtomicRenameEntryRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use AtomicRenameEntryRequest.ProtoReflect.Descriptor instead.
func (*AtomicRenameEntryRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{27}
+ return file_filer_proto_rawDescGZIP(), []int{29}
}
func (x *AtomicRenameEntryRequest) GetOldDirectory() string {
@@ -2359,7 +2452,7 @@ type AtomicRenameEntryResponse struct {
func (x *AtomicRenameEntryResponse) Reset() {
*x = AtomicRenameEntryResponse{}
- mi := &file_filer_proto_msgTypes[28]
+ mi := &file_filer_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2371,7 +2464,7 @@ func (x *AtomicRenameEntryResponse) String() string {
func (*AtomicRenameEntryResponse) ProtoMessage() {}
func (x *AtomicRenameEntryResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[28]
+ mi := &file_filer_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2384,7 +2477,7 @@ func (x *AtomicRenameEntryResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use AtomicRenameEntryResponse.ProtoReflect.Descriptor instead.
func (*AtomicRenameEntryResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{28}
+ return file_filer_proto_rawDescGZIP(), []int{30}
}
type StreamRenameEntryRequest struct {
@@ -2400,7 +2493,7 @@ type StreamRenameEntryRequest struct {
func (x *StreamRenameEntryRequest) Reset() {
*x = StreamRenameEntryRequest{}
- mi := &file_filer_proto_msgTypes[29]
+ mi := &file_filer_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2412,7 +2505,7 @@ func (x *StreamRenameEntryRequest) String() string {
func (*StreamRenameEntryRequest) ProtoMessage() {}
func (x *StreamRenameEntryRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[29]
+ mi := &file_filer_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2425,7 +2518,7 @@ func (x *StreamRenameEntryRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use StreamRenameEntryRequest.ProtoReflect.Descriptor instead.
func (*StreamRenameEntryRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{29}
+ return file_filer_proto_rawDescGZIP(), []int{31}
}
func (x *StreamRenameEntryRequest) GetOldDirectory() string {
@@ -2474,7 +2567,7 @@ type StreamRenameEntryResponse struct {
func (x *StreamRenameEntryResponse) Reset() {
*x = StreamRenameEntryResponse{}
- mi := &file_filer_proto_msgTypes[30]
+ mi := &file_filer_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2486,7 +2579,7 @@ func (x *StreamRenameEntryResponse) String() string {
func (*StreamRenameEntryResponse) ProtoMessage() {}
func (x *StreamRenameEntryResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[30]
+ mi := &file_filer_proto_msgTypes[32]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2499,7 +2592,7 @@ func (x *StreamRenameEntryResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use StreamRenameEntryResponse.ProtoReflect.Descriptor instead.
func (*StreamRenameEntryResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{30}
+ return file_filer_proto_rawDescGZIP(), []int{32}
}
func (x *StreamRenameEntryResponse) GetDirectory() string {
@@ -2541,7 +2634,7 @@ type AssignVolumeRequest struct {
func (x *AssignVolumeRequest) Reset() {
*x = AssignVolumeRequest{}
- mi := &file_filer_proto_msgTypes[31]
+ mi := &file_filer_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2553,7 +2646,7 @@ func (x *AssignVolumeRequest) String() string {
func (*AssignVolumeRequest) ProtoMessage() {}
func (x *AssignVolumeRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[31]
+ mi := &file_filer_proto_msgTypes[33]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2566,7 +2659,7 @@ func (x *AssignVolumeRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use AssignVolumeRequest.ProtoReflect.Descriptor instead.
func (*AssignVolumeRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{31}
+ return file_filer_proto_rawDescGZIP(), []int{33}
}
func (x *AssignVolumeRequest) GetCount() int32 {
@@ -2654,7 +2747,7 @@ type AssignVolumeResponse struct {
func (x *AssignVolumeResponse) Reset() {
*x = AssignVolumeResponse{}
- mi := &file_filer_proto_msgTypes[32]
+ mi := &file_filer_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2666,7 +2759,7 @@ func (x *AssignVolumeResponse) String() string {
func (*AssignVolumeResponse) ProtoMessage() {}
func (x *AssignVolumeResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[32]
+ mi := &file_filer_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2679,7 +2772,7 @@ func (x *AssignVolumeResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use AssignVolumeResponse.ProtoReflect.Descriptor instead.
func (*AssignVolumeResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{32}
+ return file_filer_proto_rawDescGZIP(), []int{34}
}
func (x *AssignVolumeResponse) GetFileId() string {
@@ -2740,7 +2833,7 @@ type LookupVolumeRequest struct {
func (x *LookupVolumeRequest) Reset() {
*x = LookupVolumeRequest{}
- mi := &file_filer_proto_msgTypes[33]
+ mi := &file_filer_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2752,7 +2845,7 @@ func (x *LookupVolumeRequest) String() string {
func (*LookupVolumeRequest) ProtoMessage() {}
func (x *LookupVolumeRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[33]
+ mi := &file_filer_proto_msgTypes[35]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2765,7 +2858,7 @@ func (x *LookupVolumeRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use LookupVolumeRequest.ProtoReflect.Descriptor instead.
func (*LookupVolumeRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{33}
+ return file_filer_proto_rawDescGZIP(), []int{35}
}
func (x *LookupVolumeRequest) GetVolumeIds() []string {
@@ -2784,7 +2877,7 @@ type Locations struct {
func (x *Locations) Reset() {
*x = Locations{}
- mi := &file_filer_proto_msgTypes[34]
+ mi := &file_filer_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2796,7 +2889,7 @@ func (x *Locations) String() string {
func (*Locations) ProtoMessage() {}
func (x *Locations) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[34]
+ mi := &file_filer_proto_msgTypes[36]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2809,7 +2902,7 @@ func (x *Locations) ProtoReflect() protoreflect.Message {
// Deprecated: Use Locations.ProtoReflect.Descriptor instead.
func (*Locations) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{34}
+ return file_filer_proto_rawDescGZIP(), []int{36}
}
func (x *Locations) GetLocations() []*Location {
@@ -2831,7 +2924,7 @@ type Location struct {
func (x *Location) Reset() {
*x = Location{}
- mi := &file_filer_proto_msgTypes[35]
+ mi := &file_filer_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2843,7 +2936,7 @@ func (x *Location) String() string {
func (*Location) ProtoMessage() {}
func (x *Location) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[35]
+ mi := &file_filer_proto_msgTypes[37]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2856,7 +2949,7 @@ func (x *Location) ProtoReflect() protoreflect.Message {
// Deprecated: Use Location.ProtoReflect.Descriptor instead.
func (*Location) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{35}
+ return file_filer_proto_rawDescGZIP(), []int{37}
}
func (x *Location) GetUrl() string {
@@ -2896,7 +2989,7 @@ type LookupVolumeResponse struct {
func (x *LookupVolumeResponse) Reset() {
*x = LookupVolumeResponse{}
- mi := &file_filer_proto_msgTypes[36]
+ mi := &file_filer_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2908,7 +3001,7 @@ func (x *LookupVolumeResponse) String() string {
func (*LookupVolumeResponse) ProtoMessage() {}
func (x *LookupVolumeResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[36]
+ mi := &file_filer_proto_msgTypes[38]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2921,7 +3014,7 @@ func (x *LookupVolumeResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use LookupVolumeResponse.ProtoReflect.Descriptor instead.
func (*LookupVolumeResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{36}
+ return file_filer_proto_rawDescGZIP(), []int{38}
}
func (x *LookupVolumeResponse) GetLocationsMap() map[string]*Locations {
@@ -2940,7 +3033,7 @@ type Collection struct {
func (x *Collection) Reset() {
*x = Collection{}
- mi := &file_filer_proto_msgTypes[37]
+ mi := &file_filer_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2952,7 +3045,7 @@ func (x *Collection) String() string {
func (*Collection) ProtoMessage() {}
func (x *Collection) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[37]
+ mi := &file_filer_proto_msgTypes[39]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2965,7 +3058,7 @@ func (x *Collection) ProtoReflect() protoreflect.Message {
// Deprecated: Use Collection.ProtoReflect.Descriptor instead.
func (*Collection) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{37}
+ return file_filer_proto_rawDescGZIP(), []int{39}
}
func (x *Collection) GetName() string {
@@ -2985,7 +3078,7 @@ type CollectionListRequest struct {
func (x *CollectionListRequest) Reset() {
*x = CollectionListRequest{}
- mi := &file_filer_proto_msgTypes[38]
+ mi := &file_filer_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2997,7 +3090,7 @@ func (x *CollectionListRequest) String() string {
func (*CollectionListRequest) ProtoMessage() {}
func (x *CollectionListRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[38]
+ mi := &file_filer_proto_msgTypes[40]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3010,7 +3103,7 @@ func (x *CollectionListRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use CollectionListRequest.ProtoReflect.Descriptor instead.
func (*CollectionListRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{38}
+ return file_filer_proto_rawDescGZIP(), []int{40}
}
func (x *CollectionListRequest) GetIncludeNormalVolumes() bool {
@@ -3036,7 +3129,7 @@ type CollectionListResponse struct {
func (x *CollectionListResponse) Reset() {
*x = CollectionListResponse{}
- mi := &file_filer_proto_msgTypes[39]
+ mi := &file_filer_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3048,7 +3141,7 @@ func (x *CollectionListResponse) String() string {
func (*CollectionListResponse) ProtoMessage() {}
func (x *CollectionListResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[39]
+ mi := &file_filer_proto_msgTypes[41]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3061,7 +3154,7 @@ func (x *CollectionListResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use CollectionListResponse.ProtoReflect.Descriptor instead.
func (*CollectionListResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{39}
+ return file_filer_proto_rawDescGZIP(), []int{41}
}
func (x *CollectionListResponse) GetCollections() []*Collection {
@@ -3080,7 +3173,7 @@ type DeleteCollectionRequest struct {
func (x *DeleteCollectionRequest) Reset() {
*x = DeleteCollectionRequest{}
- mi := &file_filer_proto_msgTypes[40]
+ mi := &file_filer_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3092,7 +3185,7 @@ func (x *DeleteCollectionRequest) String() string {
func (*DeleteCollectionRequest) ProtoMessage() {}
func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[40]
+ mi := &file_filer_proto_msgTypes[42]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3105,7 +3198,7 @@ func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use DeleteCollectionRequest.ProtoReflect.Descriptor instead.
func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{40}
+ return file_filer_proto_rawDescGZIP(), []int{42}
}
func (x *DeleteCollectionRequest) GetCollection() string {
@@ -3123,7 +3216,7 @@ type DeleteCollectionResponse struct {
func (x *DeleteCollectionResponse) Reset() {
*x = DeleteCollectionResponse{}
- mi := &file_filer_proto_msgTypes[41]
+ mi := &file_filer_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3135,7 +3228,7 @@ func (x *DeleteCollectionResponse) String() string {
func (*DeleteCollectionResponse) ProtoMessage() {}
func (x *DeleteCollectionResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[41]
+ mi := &file_filer_proto_msgTypes[43]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3148,7 +3241,7 @@ func (x *DeleteCollectionResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use DeleteCollectionResponse.ProtoReflect.Descriptor instead.
func (*DeleteCollectionResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{41}
+ return file_filer_proto_rawDescGZIP(), []int{43}
}
type StatisticsRequest struct {
@@ -3163,7 +3256,7 @@ type StatisticsRequest struct {
func (x *StatisticsRequest) Reset() {
*x = StatisticsRequest{}
- mi := &file_filer_proto_msgTypes[42]
+ mi := &file_filer_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3175,7 +3268,7 @@ func (x *StatisticsRequest) String() string {
func (*StatisticsRequest) ProtoMessage() {}
func (x *StatisticsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[42]
+ mi := &file_filer_proto_msgTypes[44]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3188,7 +3281,7 @@ func (x *StatisticsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use StatisticsRequest.ProtoReflect.Descriptor instead.
func (*StatisticsRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{42}
+ return file_filer_proto_rawDescGZIP(), []int{44}
}
func (x *StatisticsRequest) GetReplication() string {
@@ -3230,7 +3323,7 @@ type StatisticsResponse struct {
func (x *StatisticsResponse) Reset() {
*x = StatisticsResponse{}
- mi := &file_filer_proto_msgTypes[43]
+ mi := &file_filer_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3242,7 +3335,7 @@ func (x *StatisticsResponse) String() string {
func (*StatisticsResponse) ProtoMessage() {}
func (x *StatisticsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[43]
+ mi := &file_filer_proto_msgTypes[45]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3255,7 +3348,7 @@ func (x *StatisticsResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use StatisticsResponse.ProtoReflect.Descriptor instead.
func (*StatisticsResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{43}
+ return file_filer_proto_rawDescGZIP(), []int{45}
}
func (x *StatisticsResponse) GetTotalSize() uint64 {
@@ -3289,7 +3382,7 @@ type PingRequest struct {
func (x *PingRequest) Reset() {
*x = PingRequest{}
- mi := &file_filer_proto_msgTypes[44]
+ mi := &file_filer_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3301,7 +3394,7 @@ func (x *PingRequest) String() string {
func (*PingRequest) ProtoMessage() {}
func (x *PingRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[44]
+ mi := &file_filer_proto_msgTypes[46]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3314,7 +3407,7 @@ func (x *PingRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{44}
+ return file_filer_proto_rawDescGZIP(), []int{46}
}
func (x *PingRequest) GetTarget() string {
@@ -3342,7 +3435,7 @@ type PingResponse struct {
func (x *PingResponse) Reset() {
*x = PingResponse{}
- mi := &file_filer_proto_msgTypes[45]
+ mi := &file_filer_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3354,7 +3447,7 @@ func (x *PingResponse) String() string {
func (*PingResponse) ProtoMessage() {}
func (x *PingResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[45]
+ mi := &file_filer_proto_msgTypes[47]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3367,7 +3460,7 @@ func (x *PingResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{45}
+ return file_filer_proto_rawDescGZIP(), []int{47}
}
func (x *PingResponse) GetStartTimeNs() int64 {
@@ -3399,7 +3492,7 @@ type GetFilerConfigurationRequest struct {
func (x *GetFilerConfigurationRequest) Reset() {
*x = GetFilerConfigurationRequest{}
- mi := &file_filer_proto_msgTypes[46]
+ mi := &file_filer_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3411,7 +3504,7 @@ func (x *GetFilerConfigurationRequest) String() string {
func (*GetFilerConfigurationRequest) ProtoMessage() {}
func (x *GetFilerConfigurationRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[46]
+ mi := &file_filer_proto_msgTypes[48]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3424,7 +3517,7 @@ func (x *GetFilerConfigurationRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetFilerConfigurationRequest.ProtoReflect.Descriptor instead.
func (*GetFilerConfigurationRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{46}
+ return file_filer_proto_rawDescGZIP(), []int{48}
}
type GetFilerConfigurationResponse struct {
@@ -3449,7 +3542,7 @@ type GetFilerConfigurationResponse struct {
func (x *GetFilerConfigurationResponse) Reset() {
*x = GetFilerConfigurationResponse{}
- mi := &file_filer_proto_msgTypes[47]
+ mi := &file_filer_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3461,7 +3554,7 @@ func (x *GetFilerConfigurationResponse) String() string {
func (*GetFilerConfigurationResponse) ProtoMessage() {}
func (x *GetFilerConfigurationResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[47]
+ mi := &file_filer_proto_msgTypes[49]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3474,7 +3567,7 @@ func (x *GetFilerConfigurationResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetFilerConfigurationResponse.ProtoReflect.Descriptor instead.
func (*GetFilerConfigurationResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{47}
+ return file_filer_proto_rawDescGZIP(), []int{49}
}
func (x *GetFilerConfigurationResponse) GetMasters() []string {
@@ -3595,7 +3688,7 @@ type SubscribeMetadataRequest struct {
func (x *SubscribeMetadataRequest) Reset() {
*x = SubscribeMetadataRequest{}
- mi := &file_filer_proto_msgTypes[48]
+ mi := &file_filer_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3607,7 +3700,7 @@ func (x *SubscribeMetadataRequest) String() string {
func (*SubscribeMetadataRequest) ProtoMessage() {}
func (x *SubscribeMetadataRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[48]
+ mi := &file_filer_proto_msgTypes[50]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3620,7 +3713,7 @@ func (x *SubscribeMetadataRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use SubscribeMetadataRequest.ProtoReflect.Descriptor instead.
func (*SubscribeMetadataRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{48}
+ return file_filer_proto_rawDescGZIP(), []int{50}
}
func (x *SubscribeMetadataRequest) GetClientName() string {
@@ -3720,7 +3813,7 @@ type SubscribeMetadataResponse struct {
func (x *SubscribeMetadataResponse) Reset() {
*x = SubscribeMetadataResponse{}
- mi := &file_filer_proto_msgTypes[49]
+ mi := &file_filer_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3732,7 +3825,7 @@ func (x *SubscribeMetadataResponse) String() string {
func (*SubscribeMetadataResponse) ProtoMessage() {}
func (x *SubscribeMetadataResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[49]
+ mi := &file_filer_proto_msgTypes[51]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3745,7 +3838,7 @@ func (x *SubscribeMetadataResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use SubscribeMetadataResponse.ProtoReflect.Descriptor instead.
func (*SubscribeMetadataResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{49}
+ return file_filer_proto_rawDescGZIP(), []int{51}
}
func (x *SubscribeMetadataResponse) GetDirectory() string {
@@ -3797,7 +3890,7 @@ type LogFileChunkRef struct {
func (x *LogFileChunkRef) Reset() {
*x = LogFileChunkRef{}
- mi := &file_filer_proto_msgTypes[50]
+ mi := &file_filer_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3809,7 +3902,7 @@ func (x *LogFileChunkRef) String() string {
func (*LogFileChunkRef) ProtoMessage() {}
func (x *LogFileChunkRef) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[50]
+ mi := &file_filer_proto_msgTypes[52]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3822,7 +3915,7 @@ func (x *LogFileChunkRef) ProtoReflect() protoreflect.Message {
// Deprecated: Use LogFileChunkRef.ProtoReflect.Descriptor instead.
func (*LogFileChunkRef) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{50}
+ return file_filer_proto_rawDescGZIP(), []int{52}
}
func (x *LogFileChunkRef) GetChunks() []*FileChunk {
@@ -3856,7 +3949,7 @@ type TraverseBfsMetadataRequest struct {
func (x *TraverseBfsMetadataRequest) Reset() {
*x = TraverseBfsMetadataRequest{}
- mi := &file_filer_proto_msgTypes[51]
+ mi := &file_filer_proto_msgTypes[53]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3868,7 +3961,7 @@ func (x *TraverseBfsMetadataRequest) String() string {
func (*TraverseBfsMetadataRequest) ProtoMessage() {}
func (x *TraverseBfsMetadataRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[51]
+ mi := &file_filer_proto_msgTypes[53]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3881,7 +3974,7 @@ func (x *TraverseBfsMetadataRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use TraverseBfsMetadataRequest.ProtoReflect.Descriptor instead.
func (*TraverseBfsMetadataRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{51}
+ return file_filer_proto_rawDescGZIP(), []int{53}
}
func (x *TraverseBfsMetadataRequest) GetDirectory() string {
@@ -3908,7 +4001,7 @@ type TraverseBfsMetadataResponse struct {
func (x *TraverseBfsMetadataResponse) Reset() {
*x = TraverseBfsMetadataResponse{}
- mi := &file_filer_proto_msgTypes[52]
+ mi := &file_filer_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3920,7 +4013,7 @@ func (x *TraverseBfsMetadataResponse) String() string {
func (*TraverseBfsMetadataResponse) ProtoMessage() {}
func (x *TraverseBfsMetadataResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[52]
+ mi := &file_filer_proto_msgTypes[54]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3933,7 +4026,7 @@ func (x *TraverseBfsMetadataResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use TraverseBfsMetadataResponse.ProtoReflect.Descriptor instead.
func (*TraverseBfsMetadataResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{52}
+ return file_filer_proto_rawDescGZIP(), []int{54}
}
func (x *TraverseBfsMetadataResponse) GetDirectory() string {
@@ -3963,7 +4056,7 @@ type LogEntry struct {
func (x *LogEntry) Reset() {
*x = LogEntry{}
- mi := &file_filer_proto_msgTypes[53]
+ mi := &file_filer_proto_msgTypes[55]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3975,7 +4068,7 @@ func (x *LogEntry) String() string {
func (*LogEntry) ProtoMessage() {}
func (x *LogEntry) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[53]
+ mi := &file_filer_proto_msgTypes[55]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3988,7 +4081,7 @@ func (x *LogEntry) ProtoReflect() protoreflect.Message {
// Deprecated: Use LogEntry.ProtoReflect.Descriptor instead.
func (*LogEntry) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{53}
+ return file_filer_proto_rawDescGZIP(), []int{55}
}
func (x *LogEntry) GetTsNs() int64 {
@@ -4037,7 +4130,7 @@ type KeepConnectedRequest struct {
func (x *KeepConnectedRequest) Reset() {
*x = KeepConnectedRequest{}
- mi := &file_filer_proto_msgTypes[54]
+ mi := &file_filer_proto_msgTypes[56]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4049,7 +4142,7 @@ func (x *KeepConnectedRequest) String() string {
func (*KeepConnectedRequest) ProtoMessage() {}
func (x *KeepConnectedRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[54]
+ mi := &file_filer_proto_msgTypes[56]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4062,7 +4155,7 @@ func (x *KeepConnectedRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use KeepConnectedRequest.ProtoReflect.Descriptor instead.
func (*KeepConnectedRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{54}
+ return file_filer_proto_rawDescGZIP(), []int{56}
}
func (x *KeepConnectedRequest) GetName() string {
@@ -4094,7 +4187,7 @@ type KeepConnectedResponse struct {
func (x *KeepConnectedResponse) Reset() {
*x = KeepConnectedResponse{}
- mi := &file_filer_proto_msgTypes[55]
+ mi := &file_filer_proto_msgTypes[57]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4106,7 +4199,7 @@ func (x *KeepConnectedResponse) String() string {
func (*KeepConnectedResponse) ProtoMessage() {}
func (x *KeepConnectedResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[55]
+ mi := &file_filer_proto_msgTypes[57]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4119,7 +4212,7 @@ func (x *KeepConnectedResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use KeepConnectedResponse.ProtoReflect.Descriptor instead.
func (*KeepConnectedResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{55}
+ return file_filer_proto_rawDescGZIP(), []int{57}
}
type LocateBrokerRequest struct {
@@ -4131,7 +4224,7 @@ type LocateBrokerRequest struct {
func (x *LocateBrokerRequest) Reset() {
*x = LocateBrokerRequest{}
- mi := &file_filer_proto_msgTypes[56]
+ mi := &file_filer_proto_msgTypes[58]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4143,7 +4236,7 @@ func (x *LocateBrokerRequest) String() string {
func (*LocateBrokerRequest) ProtoMessage() {}
func (x *LocateBrokerRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[56]
+ mi := &file_filer_proto_msgTypes[58]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4156,7 +4249,7 @@ func (x *LocateBrokerRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use LocateBrokerRequest.ProtoReflect.Descriptor instead.
func (*LocateBrokerRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{56}
+ return file_filer_proto_rawDescGZIP(), []int{58}
}
func (x *LocateBrokerRequest) GetResource() string {
@@ -4176,7 +4269,7 @@ type LocateBrokerResponse struct {
func (x *LocateBrokerResponse) Reset() {
*x = LocateBrokerResponse{}
- mi := &file_filer_proto_msgTypes[57]
+ mi := &file_filer_proto_msgTypes[59]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4188,7 +4281,7 @@ func (x *LocateBrokerResponse) String() string {
func (*LocateBrokerResponse) ProtoMessage() {}
func (x *LocateBrokerResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[57]
+ mi := &file_filer_proto_msgTypes[59]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4201,7 +4294,7 @@ func (x *LocateBrokerResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use LocateBrokerResponse.ProtoReflect.Descriptor instead.
func (*LocateBrokerResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{57}
+ return file_filer_proto_rawDescGZIP(), []int{59}
}
func (x *LocateBrokerResponse) GetFound() bool {
@@ -4230,7 +4323,7 @@ type KvGetRequest struct {
func (x *KvGetRequest) Reset() {
*x = KvGetRequest{}
- mi := &file_filer_proto_msgTypes[58]
+ mi := &file_filer_proto_msgTypes[60]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4242,7 +4335,7 @@ func (x *KvGetRequest) String() string {
func (*KvGetRequest) ProtoMessage() {}
func (x *KvGetRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[58]
+ mi := &file_filer_proto_msgTypes[60]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4255,7 +4348,7 @@ func (x *KvGetRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use KvGetRequest.ProtoReflect.Descriptor instead.
func (*KvGetRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{58}
+ return file_filer_proto_rawDescGZIP(), []int{60}
}
func (x *KvGetRequest) GetKey() []byte {
@@ -4275,7 +4368,7 @@ type KvGetResponse struct {
func (x *KvGetResponse) Reset() {
*x = KvGetResponse{}
- mi := &file_filer_proto_msgTypes[59]
+ mi := &file_filer_proto_msgTypes[61]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4287,7 +4380,7 @@ func (x *KvGetResponse) String() string {
func (*KvGetResponse) ProtoMessage() {}
func (x *KvGetResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[59]
+ mi := &file_filer_proto_msgTypes[61]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4300,7 +4393,7 @@ func (x *KvGetResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use KvGetResponse.ProtoReflect.Descriptor instead.
func (*KvGetResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{59}
+ return file_filer_proto_rawDescGZIP(), []int{61}
}
func (x *KvGetResponse) GetValue() []byte {
@@ -4327,7 +4420,7 @@ type KvPutRequest struct {
func (x *KvPutRequest) Reset() {
*x = KvPutRequest{}
- mi := &file_filer_proto_msgTypes[60]
+ mi := &file_filer_proto_msgTypes[62]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4339,7 +4432,7 @@ func (x *KvPutRequest) String() string {
func (*KvPutRequest) ProtoMessage() {}
func (x *KvPutRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[60]
+ mi := &file_filer_proto_msgTypes[62]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4352,7 +4445,7 @@ func (x *KvPutRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use KvPutRequest.ProtoReflect.Descriptor instead.
func (*KvPutRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{60}
+ return file_filer_proto_rawDescGZIP(), []int{62}
}
func (x *KvPutRequest) GetKey() []byte {
@@ -4378,7 +4471,7 @@ type KvPutResponse struct {
func (x *KvPutResponse) Reset() {
*x = KvPutResponse{}
- mi := &file_filer_proto_msgTypes[61]
+ mi := &file_filer_proto_msgTypes[63]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4390,7 +4483,7 @@ func (x *KvPutResponse) String() string {
func (*KvPutResponse) ProtoMessage() {}
func (x *KvPutResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[61]
+ mi := &file_filer_proto_msgTypes[63]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4403,7 +4496,7 @@ func (x *KvPutResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use KvPutResponse.ProtoReflect.Descriptor instead.
func (*KvPutResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{61}
+ return file_filer_proto_rawDescGZIP(), []int{63}
}
func (x *KvPutResponse) GetError() string {
@@ -4426,7 +4519,7 @@ type FilerConf struct {
func (x *FilerConf) Reset() {
*x = FilerConf{}
- mi := &file_filer_proto_msgTypes[62]
+ mi := &file_filer_proto_msgTypes[64]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4438,7 +4531,7 @@ func (x *FilerConf) String() string {
func (*FilerConf) ProtoMessage() {}
func (x *FilerConf) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[62]
+ mi := &file_filer_proto_msgTypes[64]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4451,7 +4544,7 @@ func (x *FilerConf) ProtoReflect() protoreflect.Message {
// Deprecated: Use FilerConf.ProtoReflect.Descriptor instead.
func (*FilerConf) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{62}
+ return file_filer_proto_rawDescGZIP(), []int{64}
}
func (x *FilerConf) GetVersion() int32 {
@@ -4483,7 +4576,7 @@ type CacheRemoteObjectToLocalClusterRequest struct {
func (x *CacheRemoteObjectToLocalClusterRequest) Reset() {
*x = CacheRemoteObjectToLocalClusterRequest{}
- mi := &file_filer_proto_msgTypes[63]
+ mi := &file_filer_proto_msgTypes[65]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4495,7 +4588,7 @@ func (x *CacheRemoteObjectToLocalClusterRequest) String() string {
func (*CacheRemoteObjectToLocalClusterRequest) ProtoMessage() {}
func (x *CacheRemoteObjectToLocalClusterRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[63]
+ mi := &file_filer_proto_msgTypes[65]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4508,7 +4601,7 @@ func (x *CacheRemoteObjectToLocalClusterRequest) ProtoReflect() protoreflect.Mes
// Deprecated: Use CacheRemoteObjectToLocalClusterRequest.ProtoReflect.Descriptor instead.
func (*CacheRemoteObjectToLocalClusterRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{63}
+ return file_filer_proto_rawDescGZIP(), []int{65}
}
func (x *CacheRemoteObjectToLocalClusterRequest) GetDirectory() string {
@@ -4549,7 +4642,7 @@ type CacheRemoteObjectToLocalClusterResponse struct {
func (x *CacheRemoteObjectToLocalClusterResponse) Reset() {
*x = CacheRemoteObjectToLocalClusterResponse{}
- mi := &file_filer_proto_msgTypes[64]
+ mi := &file_filer_proto_msgTypes[66]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4561,7 +4654,7 @@ func (x *CacheRemoteObjectToLocalClusterResponse) String() string {
func (*CacheRemoteObjectToLocalClusterResponse) ProtoMessage() {}
func (x *CacheRemoteObjectToLocalClusterResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[64]
+ mi := &file_filer_proto_msgTypes[66]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4574,7 +4667,7 @@ func (x *CacheRemoteObjectToLocalClusterResponse) ProtoReflect() protoreflect.Me
// Deprecated: Use CacheRemoteObjectToLocalClusterResponse.ProtoReflect.Descriptor instead.
func (*CacheRemoteObjectToLocalClusterResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{64}
+ return file_filer_proto_rawDescGZIP(), []int{66}
}
func (x *CacheRemoteObjectToLocalClusterResponse) GetEntry() *Entry {
@@ -4607,7 +4700,7 @@ type LockRequest struct {
func (x *LockRequest) Reset() {
*x = LockRequest{}
- mi := &file_filer_proto_msgTypes[65]
+ mi := &file_filer_proto_msgTypes[67]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4619,7 +4712,7 @@ func (x *LockRequest) String() string {
func (*LockRequest) ProtoMessage() {}
func (x *LockRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[65]
+ mi := &file_filer_proto_msgTypes[67]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4632,7 +4725,7 @@ func (x *LockRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use LockRequest.ProtoReflect.Descriptor instead.
func (*LockRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{65}
+ return file_filer_proto_rawDescGZIP(), []int{67}
}
func (x *LockRequest) GetName() string {
@@ -4683,7 +4776,7 @@ type LockResponse struct {
func (x *LockResponse) Reset() {
*x = LockResponse{}
- mi := &file_filer_proto_msgTypes[66]
+ mi := &file_filer_proto_msgTypes[68]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4695,7 +4788,7 @@ func (x *LockResponse) String() string {
func (*LockResponse) ProtoMessage() {}
func (x *LockResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[66]
+ mi := &file_filer_proto_msgTypes[68]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4708,7 +4801,7 @@ func (x *LockResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use LockResponse.ProtoReflect.Descriptor instead.
func (*LockResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{66}
+ return file_filer_proto_rawDescGZIP(), []int{68}
}
func (x *LockResponse) GetRenewToken() string {
@@ -4757,7 +4850,7 @@ type UnlockRequest struct {
func (x *UnlockRequest) Reset() {
*x = UnlockRequest{}
- mi := &file_filer_proto_msgTypes[67]
+ mi := &file_filer_proto_msgTypes[69]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4769,7 +4862,7 @@ func (x *UnlockRequest) String() string {
func (*UnlockRequest) ProtoMessage() {}
func (x *UnlockRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[67]
+ mi := &file_filer_proto_msgTypes[69]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4782,7 +4875,7 @@ func (x *UnlockRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use UnlockRequest.ProtoReflect.Descriptor instead.
func (*UnlockRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{67}
+ return file_filer_proto_rawDescGZIP(), []int{69}
}
func (x *UnlockRequest) GetName() string {
@@ -4816,7 +4909,7 @@ type UnlockResponse struct {
func (x *UnlockResponse) Reset() {
*x = UnlockResponse{}
- mi := &file_filer_proto_msgTypes[68]
+ mi := &file_filer_proto_msgTypes[70]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4828,7 +4921,7 @@ func (x *UnlockResponse) String() string {
func (*UnlockResponse) ProtoMessage() {}
func (x *UnlockResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[68]
+ mi := &file_filer_proto_msgTypes[70]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4841,7 +4934,7 @@ func (x *UnlockResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use UnlockResponse.ProtoReflect.Descriptor instead.
func (*UnlockResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{68}
+ return file_filer_proto_rawDescGZIP(), []int{70}
}
func (x *UnlockResponse) GetError() string {
@@ -4868,7 +4961,7 @@ type FindLockOwnerRequest struct {
func (x *FindLockOwnerRequest) Reset() {
*x = FindLockOwnerRequest{}
- mi := &file_filer_proto_msgTypes[69]
+ mi := &file_filer_proto_msgTypes[71]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4880,7 +4973,7 @@ func (x *FindLockOwnerRequest) String() string {
func (*FindLockOwnerRequest) ProtoMessage() {}
func (x *FindLockOwnerRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[69]
+ mi := &file_filer_proto_msgTypes[71]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4893,7 +4986,7 @@ func (x *FindLockOwnerRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindLockOwnerRequest.ProtoReflect.Descriptor instead.
func (*FindLockOwnerRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{69}
+ return file_filer_proto_rawDescGZIP(), []int{71}
}
func (x *FindLockOwnerRequest) GetName() string {
@@ -4919,7 +5012,7 @@ type FindLockOwnerResponse struct {
func (x *FindLockOwnerResponse) Reset() {
*x = FindLockOwnerResponse{}
- mi := &file_filer_proto_msgTypes[70]
+ mi := &file_filer_proto_msgTypes[72]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4931,7 +5024,7 @@ func (x *FindLockOwnerResponse) String() string {
func (*FindLockOwnerResponse) ProtoMessage() {}
func (x *FindLockOwnerResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[70]
+ mi := &file_filer_proto_msgTypes[72]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4944,7 +5037,7 @@ func (x *FindLockOwnerResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindLockOwnerResponse.ProtoReflect.Descriptor instead.
func (*FindLockOwnerResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{70}
+ return file_filer_proto_rawDescGZIP(), []int{72}
}
func (x *FindLockOwnerResponse) GetOwner() string {
@@ -4969,7 +5062,7 @@ type Lock struct {
func (x *Lock) Reset() {
*x = Lock{}
- mi := &file_filer_proto_msgTypes[71]
+ mi := &file_filer_proto_msgTypes[73]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4981,7 +5074,7 @@ func (x *Lock) String() string {
func (*Lock) ProtoMessage() {}
func (x *Lock) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[71]
+ mi := &file_filer_proto_msgTypes[73]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4994,7 +5087,7 @@ func (x *Lock) ProtoReflect() protoreflect.Message {
// Deprecated: Use Lock.ProtoReflect.Descriptor instead.
func (*Lock) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{71}
+ return file_filer_proto_rawDescGZIP(), []int{73}
}
func (x *Lock) GetName() string {
@@ -5055,7 +5148,7 @@ type TransferLocksRequest struct {
func (x *TransferLocksRequest) Reset() {
*x = TransferLocksRequest{}
- mi := &file_filer_proto_msgTypes[72]
+ mi := &file_filer_proto_msgTypes[74]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5067,7 +5160,7 @@ func (x *TransferLocksRequest) String() string {
func (*TransferLocksRequest) ProtoMessage() {}
func (x *TransferLocksRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[72]
+ mi := &file_filer_proto_msgTypes[74]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5080,7 +5173,7 @@ func (x *TransferLocksRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use TransferLocksRequest.ProtoReflect.Descriptor instead.
func (*TransferLocksRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{72}
+ return file_filer_proto_rawDescGZIP(), []int{74}
}
func (x *TransferLocksRequest) GetLocks() []*Lock {
@@ -5098,7 +5191,7 @@ type TransferLocksResponse struct {
func (x *TransferLocksResponse) Reset() {
*x = TransferLocksResponse{}
- mi := &file_filer_proto_msgTypes[73]
+ mi := &file_filer_proto_msgTypes[75]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5110,7 +5203,7 @@ func (x *TransferLocksResponse) String() string {
func (*TransferLocksResponse) ProtoMessage() {}
func (x *TransferLocksResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[73]
+ mi := &file_filer_proto_msgTypes[75]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5123,7 +5216,7 @@ func (x *TransferLocksResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use TransferLocksResponse.ProtoReflect.Descriptor instead.
func (*TransferLocksResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{73}
+ return file_filer_proto_rawDescGZIP(), []int{75}
}
type ReplicateLockRequest struct {
@@ -5141,7 +5234,7 @@ type ReplicateLockRequest struct {
func (x *ReplicateLockRequest) Reset() {
*x = ReplicateLockRequest{}
- mi := &file_filer_proto_msgTypes[74]
+ mi := &file_filer_proto_msgTypes[76]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5153,7 +5246,7 @@ func (x *ReplicateLockRequest) String() string {
func (*ReplicateLockRequest) ProtoMessage() {}
func (x *ReplicateLockRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[74]
+ mi := &file_filer_proto_msgTypes[76]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5166,7 +5259,7 @@ func (x *ReplicateLockRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ReplicateLockRequest.ProtoReflect.Descriptor instead.
func (*ReplicateLockRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{74}
+ return file_filer_proto_rawDescGZIP(), []int{76}
}
func (x *ReplicateLockRequest) GetName() string {
@@ -5226,7 +5319,7 @@ type ReplicateLockResponse struct {
func (x *ReplicateLockResponse) Reset() {
*x = ReplicateLockResponse{}
- mi := &file_filer_proto_msgTypes[75]
+ mi := &file_filer_proto_msgTypes[77]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5238,7 +5331,7 @@ func (x *ReplicateLockResponse) String() string {
func (*ReplicateLockResponse) ProtoMessage() {}
func (x *ReplicateLockResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[75]
+ mi := &file_filer_proto_msgTypes[77]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5251,7 +5344,7 @@ func (x *ReplicateLockResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ReplicateLockResponse.ProtoReflect.Descriptor instead.
func (*ReplicateLockResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{75}
+ return file_filer_proto_rawDescGZIP(), []int{77}
}
type StreamMutateEntryRequest struct {
@@ -5270,7 +5363,7 @@ type StreamMutateEntryRequest struct {
func (x *StreamMutateEntryRequest) Reset() {
*x = StreamMutateEntryRequest{}
- mi := &file_filer_proto_msgTypes[76]
+ mi := &file_filer_proto_msgTypes[78]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5282,7 +5375,7 @@ func (x *StreamMutateEntryRequest) String() string {
func (*StreamMutateEntryRequest) ProtoMessage() {}
func (x *StreamMutateEntryRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[76]
+ mi := &file_filer_proto_msgTypes[78]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5295,7 +5388,7 @@ func (x *StreamMutateEntryRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use StreamMutateEntryRequest.ProtoReflect.Descriptor instead.
func (*StreamMutateEntryRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{76}
+ return file_filer_proto_rawDescGZIP(), []int{78}
}
func (x *StreamMutateEntryRequest) GetRequestId() uint64 {
@@ -5395,7 +5488,7 @@ type StreamMutateEntryResponse struct {
func (x *StreamMutateEntryResponse) Reset() {
*x = StreamMutateEntryResponse{}
- mi := &file_filer_proto_msgTypes[77]
+ mi := &file_filer_proto_msgTypes[79]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5407,7 +5500,7 @@ func (x *StreamMutateEntryResponse) String() string {
func (*StreamMutateEntryResponse) ProtoMessage() {}
func (x *StreamMutateEntryResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[77]
+ mi := &file_filer_proto_msgTypes[79]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5420,7 +5513,7 @@ func (x *StreamMutateEntryResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use StreamMutateEntryResponse.ProtoReflect.Descriptor instead.
func (*StreamMutateEntryResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{77}
+ return file_filer_proto_rawDescGZIP(), []int{79}
}
func (x *StreamMutateEntryResponse) GetRequestId() uint64 {
@@ -5534,7 +5627,7 @@ type MountRegisterRequest struct {
func (x *MountRegisterRequest) Reset() {
*x = MountRegisterRequest{}
- mi := &file_filer_proto_msgTypes[78]
+ mi := &file_filer_proto_msgTypes[80]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5546,7 +5639,7 @@ func (x *MountRegisterRequest) String() string {
func (*MountRegisterRequest) ProtoMessage() {}
func (x *MountRegisterRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[78]
+ mi := &file_filer_proto_msgTypes[80]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5559,7 +5652,7 @@ func (x *MountRegisterRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use MountRegisterRequest.ProtoReflect.Descriptor instead.
func (*MountRegisterRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{78}
+ return file_filer_proto_rawDescGZIP(), []int{80}
}
func (x *MountRegisterRequest) GetPeerAddr() string {
@@ -5598,7 +5691,7 @@ type MountRegisterResponse struct {
func (x *MountRegisterResponse) Reset() {
*x = MountRegisterResponse{}
- mi := &file_filer_proto_msgTypes[79]
+ mi := &file_filer_proto_msgTypes[81]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5610,7 +5703,7 @@ func (x *MountRegisterResponse) String() string {
func (*MountRegisterResponse) ProtoMessage() {}
func (x *MountRegisterResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[79]
+ mi := &file_filer_proto_msgTypes[81]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5623,7 +5716,7 @@ func (x *MountRegisterResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use MountRegisterResponse.ProtoReflect.Descriptor instead.
func (*MountRegisterResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{79}
+ return file_filer_proto_rawDescGZIP(), []int{81}
}
type MountListRequest struct {
@@ -5634,7 +5727,7 @@ type MountListRequest struct {
func (x *MountListRequest) Reset() {
*x = MountListRequest{}
- mi := &file_filer_proto_msgTypes[80]
+ mi := &file_filer_proto_msgTypes[82]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5646,7 +5739,7 @@ func (x *MountListRequest) String() string {
func (*MountListRequest) ProtoMessage() {}
func (x *MountListRequest) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[80]
+ mi := &file_filer_proto_msgTypes[82]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5659,7 +5752,7 @@ func (x *MountListRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use MountListRequest.ProtoReflect.Descriptor instead.
func (*MountListRequest) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{80}
+ return file_filer_proto_rawDescGZIP(), []int{82}
}
type MountListResponse struct {
@@ -5671,7 +5764,7 @@ type MountListResponse struct {
func (x *MountListResponse) Reset() {
*x = MountListResponse{}
- mi := &file_filer_proto_msgTypes[81]
+ mi := &file_filer_proto_msgTypes[83]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5683,7 +5776,7 @@ func (x *MountListResponse) String() string {
func (*MountListResponse) ProtoMessage() {}
func (x *MountListResponse) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[81]
+ mi := &file_filer_proto_msgTypes[83]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5696,7 +5789,7 @@ func (x *MountListResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use MountListResponse.ProtoReflect.Descriptor instead.
func (*MountListResponse) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{81}
+ return file_filer_proto_rawDescGZIP(), []int{83}
}
func (x *MountListResponse) GetMounts() []*MountInfo {
@@ -5718,7 +5811,7 @@ type MountInfo struct {
func (x *MountInfo) Reset() {
*x = MountInfo{}
- mi := &file_filer_proto_msgTypes[82]
+ mi := &file_filer_proto_msgTypes[84]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5730,7 +5823,7 @@ func (x *MountInfo) String() string {
func (*MountInfo) ProtoMessage() {}
func (x *MountInfo) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[82]
+ mi := &file_filer_proto_msgTypes[84]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5743,7 +5836,7 @@ func (x *MountInfo) ProtoReflect() protoreflect.Message {
// Deprecated: Use MountInfo.ProtoReflect.Descriptor instead.
func (*MountInfo) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{82}
+ return file_filer_proto_rawDescGZIP(), []int{84}
}
func (x *MountInfo) GetPeerAddr() string {
@@ -5800,7 +5893,7 @@ type WriteCondition_Clause struct {
func (x *WriteCondition_Clause) Reset() {
*x = WriteCondition_Clause{}
- mi := &file_filer_proto_msgTypes[84]
+ mi := &file_filer_proto_msgTypes[86]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5812,7 +5905,7 @@ func (x *WriteCondition_Clause) String() string {
func (*WriteCondition_Clause) ProtoMessage() {}
func (x *WriteCondition_Clause) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[84]
+ mi := &file_filer_proto_msgTypes[86]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5882,7 +5975,7 @@ type LocateBrokerResponse_Resource struct {
func (x *LocateBrokerResponse_Resource) Reset() {
*x = LocateBrokerResponse_Resource{}
- mi := &file_filer_proto_msgTypes[89]
+ mi := &file_filer_proto_msgTypes[91]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5894,7 +5987,7 @@ func (x *LocateBrokerResponse_Resource) String() string {
func (*LocateBrokerResponse_Resource) ProtoMessage() {}
func (x *LocateBrokerResponse_Resource) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[89]
+ mi := &file_filer_proto_msgTypes[91]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5907,7 +6000,7 @@ func (x *LocateBrokerResponse_Resource) ProtoReflect() protoreflect.Message {
// Deprecated: Use LocateBrokerResponse_Resource.ProtoReflect.Descriptor instead.
func (*LocateBrokerResponse_Resource) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{57, 0}
+ return file_filer_proto_rawDescGZIP(), []int{59, 0}
}
func (x *LocateBrokerResponse_Resource) GetGrpcAddresses() string {
@@ -5948,7 +6041,7 @@ type FilerConf_PathConf struct {
func (x *FilerConf_PathConf) Reset() {
*x = FilerConf_PathConf{}
- mi := &file_filer_proto_msgTypes[90]
+ mi := &file_filer_proto_msgTypes[92]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5960,7 +6053,7 @@ func (x *FilerConf_PathConf) String() string {
func (*FilerConf_PathConf) ProtoMessage() {}
func (x *FilerConf_PathConf) ProtoReflect() protoreflect.Message {
- mi := &file_filer_proto_msgTypes[90]
+ mi := &file_filer_proto_msgTypes[92]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5973,7 +6066,7 @@ func (x *FilerConf_PathConf) ProtoReflect() protoreflect.Message {
// Deprecated: Use FilerConf_PathConf.ProtoReflect.Descriptor instead.
func (*FilerConf_PathConf) Descriptor() ([]byte, []int) {
- return file_filer_proto_rawDescGZIP(), []int{62, 0}
+ return file_filer_proto_rawDescGZIP(), []int{64, 0}
}
func (x *FilerConf_PathConf) GetLocationPrefix() string {
@@ -6263,7 +6356,11 @@ const file_filer_proto_rawDesc = "" +
"\x19ObjectTransactionResponse\x12\x14\n" +
"\x05error\x18\x01 \x01(\tR\x05error\x123\n" +
"\n" +
- "error_code\x18\x02 \x01(\x0e2\x14.filer_pb.FilerErrorR\terrorCode\"\xac\x01\n" +
+ "error_code\x18\x02 \x01(\x0e2\x14.filer_pb.FilerErrorR\terrorCode\"g\n" +
+ "\x1dObjectTransactionBatchRequest\x12F\n" +
+ "\ftransactions\x18\x01 \x03(\v2\".filer_pb.ObjectTransactionRequestR\ftransactions\"c\n" +
+ "\x1eObjectTransactionBatchResponse\x12A\n" +
+ "\tresponses\x18\x01 \x03(\v2#.filer_pb.ObjectTransactionResponseR\tresponses\"\xac\x01\n" +
"\x13CreateEntryResponse\x12\x14\n" +
"\x05error\x18\x01 \x01(\tR\x05error\x12J\n" +
"\x0emetadata_event\x18\x02 \x01(\v2#.filer_pb.SubscribeMetadataResponseR\rmetadataEvent\x123\n" +
@@ -6631,7 +6728,7 @@ const file_filer_proto_rawDesc = "" +
"\x15EXISTING_IS_DIRECTORY\x10\x03\x12\x14\n" +
"\x10EXISTING_IS_FILE\x10\x04\x12\x18\n" +
"\x14ENTRY_ALREADY_EXISTS\x10\x05\x12\x17\n" +
- "\x13PRECONDITION_FAILED\x10\x062\x85\x15\n" +
+ "\x13PRECONDITION_FAILED\x10\x062\xf4\x15\n" +
"\fSeaweedFiler\x12g\n" +
"\x14LookupDirectoryEntry\x12%.filer_pb.LookupDirectoryEntryRequest\x1a&.filer_pb.LookupDirectoryEntryResponse\"\x00\x12N\n" +
"\vListEntries\x12\x1c.filer_pb.ListEntriesRequest\x1a\x1d.filer_pb.ListEntriesResponse\"\x000\x01\x12L\n" +
@@ -6640,7 +6737,8 @@ const file_filer_proto_rawDesc = "" +
"\x0fTouchAccessTime\x12 .filer_pb.TouchAccessTimeRequest\x1a!.filer_pb.TouchAccessTimeResponse\"\x00\x12R\n" +
"\rAppendToEntry\x12\x1e.filer_pb.AppendToEntryRequest\x1a\x1f.filer_pb.AppendToEntryResponse\"\x00\x12L\n" +
"\vDeleteEntry\x12\x1c.filer_pb.DeleteEntryRequest\x1a\x1d.filer_pb.DeleteEntryResponse\"\x00\x12^\n" +
- "\x11ObjectTransaction\x12\".filer_pb.ObjectTransactionRequest\x1a#.filer_pb.ObjectTransactionResponse\"\x00\x12^\n" +
+ "\x11ObjectTransaction\x12\".filer_pb.ObjectTransactionRequest\x1a#.filer_pb.ObjectTransactionResponse\"\x00\x12m\n" +
+ "\x16ObjectTransactionBatch\x12'.filer_pb.ObjectTransactionBatchRequest\x1a(.filer_pb.ObjectTransactionBatchResponse\"\x00\x12^\n" +
"\x11AtomicRenameEntry\x12\".filer_pb.AtomicRenameEntryRequest\x1a#.filer_pb.AtomicRenameEntryResponse\"\x00\x12`\n" +
"\x11StreamRenameEntry\x12\".filer_pb.StreamRenameEntryRequest\x1a#.filer_pb.StreamRenameEntryResponse\"\x000\x01\x12b\n" +
"\x11StreamMutateEntry\x12\".filer_pb.StreamMutateEntryRequest\x1a#.filer_pb.StreamMutateEntryResponse\"\x00(\x010\x01\x12O\n" +
@@ -6681,7 +6779,7 @@ func file_filer_proto_rawDescGZIP() []byte {
}
var file_filer_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
-var file_filer_proto_msgTypes = make([]protoimpl.MessageInfo, 91)
+var file_filer_proto_msgTypes = make([]protoimpl.MessageInfo, 93)
var file_filer_proto_goTypes = []any{
(SSEType)(0), // 0: filer_pb.SSEType
(FilerError)(0), // 1: filer_pb.FilerError
@@ -6705,86 +6803,88 @@ var file_filer_proto_goTypes = []any{
(*Recompute)(nil), // 19: filer_pb.Recompute
(*ObjectTransactionRequest)(nil), // 20: filer_pb.ObjectTransactionRequest
(*ObjectTransactionResponse)(nil), // 21: filer_pb.ObjectTransactionResponse
- (*CreateEntryResponse)(nil), // 22: filer_pb.CreateEntryResponse
- (*UpdateEntryRequest)(nil), // 23: filer_pb.UpdateEntryRequest
- (*UpdateEntryResponse)(nil), // 24: filer_pb.UpdateEntryResponse
- (*TouchAccessTimeRequest)(nil), // 25: filer_pb.TouchAccessTimeRequest
- (*TouchAccessTimeResponse)(nil), // 26: filer_pb.TouchAccessTimeResponse
- (*AppendToEntryRequest)(nil), // 27: filer_pb.AppendToEntryRequest
- (*AppendToEntryResponse)(nil), // 28: filer_pb.AppendToEntryResponse
- (*DeleteEntryRequest)(nil), // 29: filer_pb.DeleteEntryRequest
- (*DeleteEntryResponse)(nil), // 30: filer_pb.DeleteEntryResponse
- (*AtomicRenameEntryRequest)(nil), // 31: filer_pb.AtomicRenameEntryRequest
- (*AtomicRenameEntryResponse)(nil), // 32: filer_pb.AtomicRenameEntryResponse
- (*StreamRenameEntryRequest)(nil), // 33: filer_pb.StreamRenameEntryRequest
- (*StreamRenameEntryResponse)(nil), // 34: filer_pb.StreamRenameEntryResponse
- (*AssignVolumeRequest)(nil), // 35: filer_pb.AssignVolumeRequest
- (*AssignVolumeResponse)(nil), // 36: filer_pb.AssignVolumeResponse
- (*LookupVolumeRequest)(nil), // 37: filer_pb.LookupVolumeRequest
- (*Locations)(nil), // 38: filer_pb.Locations
- (*Location)(nil), // 39: filer_pb.Location
- (*LookupVolumeResponse)(nil), // 40: filer_pb.LookupVolumeResponse
- (*Collection)(nil), // 41: filer_pb.Collection
- (*CollectionListRequest)(nil), // 42: filer_pb.CollectionListRequest
- (*CollectionListResponse)(nil), // 43: filer_pb.CollectionListResponse
- (*DeleteCollectionRequest)(nil), // 44: filer_pb.DeleteCollectionRequest
- (*DeleteCollectionResponse)(nil), // 45: filer_pb.DeleteCollectionResponse
- (*StatisticsRequest)(nil), // 46: filer_pb.StatisticsRequest
- (*StatisticsResponse)(nil), // 47: filer_pb.StatisticsResponse
- (*PingRequest)(nil), // 48: filer_pb.PingRequest
- (*PingResponse)(nil), // 49: filer_pb.PingResponse
- (*GetFilerConfigurationRequest)(nil), // 50: filer_pb.GetFilerConfigurationRequest
- (*GetFilerConfigurationResponse)(nil), // 51: filer_pb.GetFilerConfigurationResponse
- (*SubscribeMetadataRequest)(nil), // 52: filer_pb.SubscribeMetadataRequest
- (*SubscribeMetadataResponse)(nil), // 53: filer_pb.SubscribeMetadataResponse
- (*LogFileChunkRef)(nil), // 54: filer_pb.LogFileChunkRef
- (*TraverseBfsMetadataRequest)(nil), // 55: filer_pb.TraverseBfsMetadataRequest
- (*TraverseBfsMetadataResponse)(nil), // 56: filer_pb.TraverseBfsMetadataResponse
- (*LogEntry)(nil), // 57: filer_pb.LogEntry
- (*KeepConnectedRequest)(nil), // 58: filer_pb.KeepConnectedRequest
- (*KeepConnectedResponse)(nil), // 59: filer_pb.KeepConnectedResponse
- (*LocateBrokerRequest)(nil), // 60: filer_pb.LocateBrokerRequest
- (*LocateBrokerResponse)(nil), // 61: filer_pb.LocateBrokerResponse
- (*KvGetRequest)(nil), // 62: filer_pb.KvGetRequest
- (*KvGetResponse)(nil), // 63: filer_pb.KvGetResponse
- (*KvPutRequest)(nil), // 64: filer_pb.KvPutRequest
- (*KvPutResponse)(nil), // 65: filer_pb.KvPutResponse
- (*FilerConf)(nil), // 66: filer_pb.FilerConf
- (*CacheRemoteObjectToLocalClusterRequest)(nil), // 67: filer_pb.CacheRemoteObjectToLocalClusterRequest
- (*CacheRemoteObjectToLocalClusterResponse)(nil), // 68: filer_pb.CacheRemoteObjectToLocalClusterResponse
- (*LockRequest)(nil), // 69: filer_pb.LockRequest
- (*LockResponse)(nil), // 70: filer_pb.LockResponse
- (*UnlockRequest)(nil), // 71: filer_pb.UnlockRequest
- (*UnlockResponse)(nil), // 72: filer_pb.UnlockResponse
- (*FindLockOwnerRequest)(nil), // 73: filer_pb.FindLockOwnerRequest
- (*FindLockOwnerResponse)(nil), // 74: filer_pb.FindLockOwnerResponse
- (*Lock)(nil), // 75: filer_pb.Lock
- (*TransferLocksRequest)(nil), // 76: filer_pb.TransferLocksRequest
- (*TransferLocksResponse)(nil), // 77: filer_pb.TransferLocksResponse
- (*ReplicateLockRequest)(nil), // 78: filer_pb.ReplicateLockRequest
- (*ReplicateLockResponse)(nil), // 79: filer_pb.ReplicateLockResponse
- (*StreamMutateEntryRequest)(nil), // 80: filer_pb.StreamMutateEntryRequest
- (*StreamMutateEntryResponse)(nil), // 81: filer_pb.StreamMutateEntryResponse
- (*MountRegisterRequest)(nil), // 82: filer_pb.MountRegisterRequest
- (*MountRegisterResponse)(nil), // 83: filer_pb.MountRegisterResponse
- (*MountListRequest)(nil), // 84: filer_pb.MountListRequest
- (*MountListResponse)(nil), // 85: filer_pb.MountListResponse
- (*MountInfo)(nil), // 86: filer_pb.MountInfo
- nil, // 87: filer_pb.Entry.ExtendedEntry
- (*WriteCondition_Clause)(nil), // 88: filer_pb.WriteCondition.Clause
- nil, // 89: filer_pb.ObjectMutation.SetExtendedEntry
- nil, // 90: filer_pb.Recompute.CopyExtendedEntry
- nil, // 91: filer_pb.UpdateEntryRequest.ExpectedExtendedEntry
- nil, // 92: filer_pb.LookupVolumeResponse.LocationsMapEntry
- (*LocateBrokerResponse_Resource)(nil), // 93: filer_pb.LocateBrokerResponse.Resource
- (*FilerConf_PathConf)(nil), // 94: filer_pb.FilerConf.PathConf
+ (*ObjectTransactionBatchRequest)(nil), // 22: filer_pb.ObjectTransactionBatchRequest
+ (*ObjectTransactionBatchResponse)(nil), // 23: filer_pb.ObjectTransactionBatchResponse
+ (*CreateEntryResponse)(nil), // 24: filer_pb.CreateEntryResponse
+ (*UpdateEntryRequest)(nil), // 25: filer_pb.UpdateEntryRequest
+ (*UpdateEntryResponse)(nil), // 26: filer_pb.UpdateEntryResponse
+ (*TouchAccessTimeRequest)(nil), // 27: filer_pb.TouchAccessTimeRequest
+ (*TouchAccessTimeResponse)(nil), // 28: filer_pb.TouchAccessTimeResponse
+ (*AppendToEntryRequest)(nil), // 29: filer_pb.AppendToEntryRequest
+ (*AppendToEntryResponse)(nil), // 30: filer_pb.AppendToEntryResponse
+ (*DeleteEntryRequest)(nil), // 31: filer_pb.DeleteEntryRequest
+ (*DeleteEntryResponse)(nil), // 32: filer_pb.DeleteEntryResponse
+ (*AtomicRenameEntryRequest)(nil), // 33: filer_pb.AtomicRenameEntryRequest
+ (*AtomicRenameEntryResponse)(nil), // 34: filer_pb.AtomicRenameEntryResponse
+ (*StreamRenameEntryRequest)(nil), // 35: filer_pb.StreamRenameEntryRequest
+ (*StreamRenameEntryResponse)(nil), // 36: filer_pb.StreamRenameEntryResponse
+ (*AssignVolumeRequest)(nil), // 37: filer_pb.AssignVolumeRequest
+ (*AssignVolumeResponse)(nil), // 38: filer_pb.AssignVolumeResponse
+ (*LookupVolumeRequest)(nil), // 39: filer_pb.LookupVolumeRequest
+ (*Locations)(nil), // 40: filer_pb.Locations
+ (*Location)(nil), // 41: filer_pb.Location
+ (*LookupVolumeResponse)(nil), // 42: filer_pb.LookupVolumeResponse
+ (*Collection)(nil), // 43: filer_pb.Collection
+ (*CollectionListRequest)(nil), // 44: filer_pb.CollectionListRequest
+ (*CollectionListResponse)(nil), // 45: filer_pb.CollectionListResponse
+ (*DeleteCollectionRequest)(nil), // 46: filer_pb.DeleteCollectionRequest
+ (*DeleteCollectionResponse)(nil), // 47: filer_pb.DeleteCollectionResponse
+ (*StatisticsRequest)(nil), // 48: filer_pb.StatisticsRequest
+ (*StatisticsResponse)(nil), // 49: filer_pb.StatisticsResponse
+ (*PingRequest)(nil), // 50: filer_pb.PingRequest
+ (*PingResponse)(nil), // 51: filer_pb.PingResponse
+ (*GetFilerConfigurationRequest)(nil), // 52: filer_pb.GetFilerConfigurationRequest
+ (*GetFilerConfigurationResponse)(nil), // 53: filer_pb.GetFilerConfigurationResponse
+ (*SubscribeMetadataRequest)(nil), // 54: filer_pb.SubscribeMetadataRequest
+ (*SubscribeMetadataResponse)(nil), // 55: filer_pb.SubscribeMetadataResponse
+ (*LogFileChunkRef)(nil), // 56: filer_pb.LogFileChunkRef
+ (*TraverseBfsMetadataRequest)(nil), // 57: filer_pb.TraverseBfsMetadataRequest
+ (*TraverseBfsMetadataResponse)(nil), // 58: filer_pb.TraverseBfsMetadataResponse
+ (*LogEntry)(nil), // 59: filer_pb.LogEntry
+ (*KeepConnectedRequest)(nil), // 60: filer_pb.KeepConnectedRequest
+ (*KeepConnectedResponse)(nil), // 61: filer_pb.KeepConnectedResponse
+ (*LocateBrokerRequest)(nil), // 62: filer_pb.LocateBrokerRequest
+ (*LocateBrokerResponse)(nil), // 63: filer_pb.LocateBrokerResponse
+ (*KvGetRequest)(nil), // 64: filer_pb.KvGetRequest
+ (*KvGetResponse)(nil), // 65: filer_pb.KvGetResponse
+ (*KvPutRequest)(nil), // 66: filer_pb.KvPutRequest
+ (*KvPutResponse)(nil), // 67: filer_pb.KvPutResponse
+ (*FilerConf)(nil), // 68: filer_pb.FilerConf
+ (*CacheRemoteObjectToLocalClusterRequest)(nil), // 69: filer_pb.CacheRemoteObjectToLocalClusterRequest
+ (*CacheRemoteObjectToLocalClusterResponse)(nil), // 70: filer_pb.CacheRemoteObjectToLocalClusterResponse
+ (*LockRequest)(nil), // 71: filer_pb.LockRequest
+ (*LockResponse)(nil), // 72: filer_pb.LockResponse
+ (*UnlockRequest)(nil), // 73: filer_pb.UnlockRequest
+ (*UnlockResponse)(nil), // 74: filer_pb.UnlockResponse
+ (*FindLockOwnerRequest)(nil), // 75: filer_pb.FindLockOwnerRequest
+ (*FindLockOwnerResponse)(nil), // 76: filer_pb.FindLockOwnerResponse
+ (*Lock)(nil), // 77: filer_pb.Lock
+ (*TransferLocksRequest)(nil), // 78: filer_pb.TransferLocksRequest
+ (*TransferLocksResponse)(nil), // 79: filer_pb.TransferLocksResponse
+ (*ReplicateLockRequest)(nil), // 80: filer_pb.ReplicateLockRequest
+ (*ReplicateLockResponse)(nil), // 81: filer_pb.ReplicateLockResponse
+ (*StreamMutateEntryRequest)(nil), // 82: filer_pb.StreamMutateEntryRequest
+ (*StreamMutateEntryResponse)(nil), // 83: filer_pb.StreamMutateEntryResponse
+ (*MountRegisterRequest)(nil), // 84: filer_pb.MountRegisterRequest
+ (*MountRegisterResponse)(nil), // 85: filer_pb.MountRegisterResponse
+ (*MountListRequest)(nil), // 86: filer_pb.MountListRequest
+ (*MountListResponse)(nil), // 87: filer_pb.MountListResponse
+ (*MountInfo)(nil), // 88: filer_pb.MountInfo
+ nil, // 89: filer_pb.Entry.ExtendedEntry
+ (*WriteCondition_Clause)(nil), // 90: filer_pb.WriteCondition.Clause
+ nil, // 91: filer_pb.ObjectMutation.SetExtendedEntry
+ nil, // 92: filer_pb.Recompute.CopyExtendedEntry
+ nil, // 93: filer_pb.UpdateEntryRequest.ExpectedExtendedEntry
+ nil, // 94: filer_pb.LookupVolumeResponse.LocationsMapEntry
+ (*LocateBrokerResponse_Resource)(nil), // 95: filer_pb.LocateBrokerResponse.Resource
+ (*FilerConf_PathConf)(nil), // 96: filer_pb.FilerConf.PathConf
}
var file_filer_proto_depIdxs = []int32{
9, // 0: filer_pb.LookupDirectoryEntryResponse.entry:type_name -> filer_pb.Entry
9, // 1: filer_pb.ListEntriesResponse.entry:type_name -> filer_pb.Entry
12, // 2: filer_pb.Entry.chunks:type_name -> filer_pb.FileChunk
15, // 3: filer_pb.Entry.attributes:type_name -> filer_pb.FuseAttributes
- 87, // 4: filer_pb.Entry.extended:type_name -> filer_pb.Entry.ExtendedEntry
+ 89, // 4: filer_pb.Entry.extended:type_name -> filer_pb.Entry.ExtendedEntry
8, // 5: filer_pb.Entry.remote_entry:type_name -> filer_pb.RemoteEntry
9, // 6: filer_pb.FullEntry.entry:type_name -> filer_pb.Entry
9, // 7: filer_pb.EventNotification.old_entry:type_name -> filer_pb.Entry
@@ -6795,115 +6895,119 @@ var file_filer_proto_depIdxs = []int32{
12, // 12: filer_pb.FileChunkManifest.chunks:type_name -> filer_pb.FileChunk
9, // 13: filer_pb.CreateEntryRequest.entry:type_name -> filer_pb.Entry
17, // 14: filer_pb.CreateEntryRequest.condition:type_name -> filer_pb.WriteCondition
- 88, // 15: filer_pb.WriteCondition.clauses:type_name -> filer_pb.WriteCondition.Clause
+ 90, // 15: filer_pb.WriteCondition.clauses:type_name -> filer_pb.WriteCondition.Clause
3, // 16: filer_pb.ObjectMutation.type:type_name -> filer_pb.ObjectMutation.Type
9, // 17: filer_pb.ObjectMutation.entry:type_name -> filer_pb.Entry
- 89, // 18: filer_pb.ObjectMutation.set_extended:type_name -> filer_pb.ObjectMutation.SetExtendedEntry
+ 91, // 18: filer_pb.ObjectMutation.set_extended:type_name -> filer_pb.ObjectMutation.SetExtendedEntry
19, // 19: filer_pb.ObjectMutation.recompute:type_name -> filer_pb.Recompute
- 90, // 20: filer_pb.Recompute.copy_extended:type_name -> filer_pb.Recompute.CopyExtendedEntry
+ 92, // 20: filer_pb.Recompute.copy_extended:type_name -> filer_pb.Recompute.CopyExtendedEntry
17, // 21: filer_pb.ObjectTransactionRequest.condition:type_name -> filer_pb.WriteCondition
18, // 22: filer_pb.ObjectTransactionRequest.mutations:type_name -> filer_pb.ObjectMutation
1, // 23: filer_pb.ObjectTransactionResponse.error_code:type_name -> filer_pb.FilerError
- 53, // 24: filer_pb.CreateEntryResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse
- 1, // 25: filer_pb.CreateEntryResponse.error_code:type_name -> filer_pb.FilerError
- 9, // 26: filer_pb.UpdateEntryRequest.entry:type_name -> filer_pb.Entry
- 91, // 27: filer_pb.UpdateEntryRequest.expected_extended:type_name -> filer_pb.UpdateEntryRequest.ExpectedExtendedEntry
- 53, // 28: filer_pb.UpdateEntryResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse
- 12, // 29: filer_pb.AppendToEntryRequest.chunks:type_name -> filer_pb.FileChunk
- 53, // 30: filer_pb.DeleteEntryResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse
- 11, // 31: filer_pb.StreamRenameEntryResponse.event_notification:type_name -> filer_pb.EventNotification
- 39, // 32: filer_pb.AssignVolumeResponse.location:type_name -> filer_pb.Location
- 39, // 33: filer_pb.Locations.locations:type_name -> filer_pb.Location
- 92, // 34: filer_pb.LookupVolumeResponse.locations_map:type_name -> filer_pb.LookupVolumeResponse.LocationsMapEntry
- 41, // 35: filer_pb.CollectionListResponse.collections:type_name -> filer_pb.Collection
- 11, // 36: filer_pb.SubscribeMetadataResponse.event_notification:type_name -> filer_pb.EventNotification
- 53, // 37: filer_pb.SubscribeMetadataResponse.events:type_name -> filer_pb.SubscribeMetadataResponse
- 54, // 38: filer_pb.SubscribeMetadataResponse.log_file_refs:type_name -> filer_pb.LogFileChunkRef
- 12, // 39: filer_pb.LogFileChunkRef.chunks:type_name -> filer_pb.FileChunk
- 9, // 40: filer_pb.TraverseBfsMetadataResponse.entry:type_name -> filer_pb.Entry
- 93, // 41: filer_pb.LocateBrokerResponse.resources:type_name -> filer_pb.LocateBrokerResponse.Resource
- 94, // 42: filer_pb.FilerConf.locations:type_name -> filer_pb.FilerConf.PathConf
- 9, // 43: filer_pb.CacheRemoteObjectToLocalClusterResponse.entry:type_name -> filer_pb.Entry
- 53, // 44: filer_pb.CacheRemoteObjectToLocalClusterResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse
- 75, // 45: filer_pb.TransferLocksRequest.locks:type_name -> filer_pb.Lock
- 16, // 46: filer_pb.StreamMutateEntryRequest.create_request:type_name -> filer_pb.CreateEntryRequest
- 23, // 47: filer_pb.StreamMutateEntryRequest.update_request:type_name -> filer_pb.UpdateEntryRequest
- 29, // 48: filer_pb.StreamMutateEntryRequest.delete_request:type_name -> filer_pb.DeleteEntryRequest
- 33, // 49: filer_pb.StreamMutateEntryRequest.rename_request:type_name -> filer_pb.StreamRenameEntryRequest
- 22, // 50: filer_pb.StreamMutateEntryResponse.create_response:type_name -> filer_pb.CreateEntryResponse
- 24, // 51: filer_pb.StreamMutateEntryResponse.update_response:type_name -> filer_pb.UpdateEntryResponse
- 30, // 52: filer_pb.StreamMutateEntryResponse.delete_response:type_name -> filer_pb.DeleteEntryResponse
- 34, // 53: filer_pb.StreamMutateEntryResponse.rename_response:type_name -> filer_pb.StreamRenameEntryResponse
- 86, // 54: filer_pb.MountListResponse.mounts:type_name -> filer_pb.MountInfo
- 2, // 55: filer_pb.WriteCondition.Clause.kind:type_name -> filer_pb.WriteCondition.Kind
- 38, // 56: filer_pb.LookupVolumeResponse.LocationsMapEntry.value:type_name -> filer_pb.Locations
- 4, // 57: filer_pb.SeaweedFiler.LookupDirectoryEntry:input_type -> filer_pb.LookupDirectoryEntryRequest
- 6, // 58: filer_pb.SeaweedFiler.ListEntries:input_type -> filer_pb.ListEntriesRequest
- 16, // 59: filer_pb.SeaweedFiler.CreateEntry:input_type -> filer_pb.CreateEntryRequest
- 23, // 60: filer_pb.SeaweedFiler.UpdateEntry:input_type -> filer_pb.UpdateEntryRequest
- 25, // 61: filer_pb.SeaweedFiler.TouchAccessTime:input_type -> filer_pb.TouchAccessTimeRequest
- 27, // 62: filer_pb.SeaweedFiler.AppendToEntry:input_type -> filer_pb.AppendToEntryRequest
- 29, // 63: filer_pb.SeaweedFiler.DeleteEntry:input_type -> filer_pb.DeleteEntryRequest
- 20, // 64: filer_pb.SeaweedFiler.ObjectTransaction:input_type -> filer_pb.ObjectTransactionRequest
- 31, // 65: filer_pb.SeaweedFiler.AtomicRenameEntry:input_type -> filer_pb.AtomicRenameEntryRequest
- 33, // 66: filer_pb.SeaweedFiler.StreamRenameEntry:input_type -> filer_pb.StreamRenameEntryRequest
- 80, // 67: filer_pb.SeaweedFiler.StreamMutateEntry:input_type -> filer_pb.StreamMutateEntryRequest
- 35, // 68: filer_pb.SeaweedFiler.AssignVolume:input_type -> filer_pb.AssignVolumeRequest
- 37, // 69: filer_pb.SeaweedFiler.LookupVolume:input_type -> filer_pb.LookupVolumeRequest
- 42, // 70: filer_pb.SeaweedFiler.CollectionList:input_type -> filer_pb.CollectionListRequest
- 44, // 71: filer_pb.SeaweedFiler.DeleteCollection:input_type -> filer_pb.DeleteCollectionRequest
- 46, // 72: filer_pb.SeaweedFiler.Statistics:input_type -> filer_pb.StatisticsRequest
- 48, // 73: filer_pb.SeaweedFiler.Ping:input_type -> filer_pb.PingRequest
- 50, // 74: filer_pb.SeaweedFiler.GetFilerConfiguration:input_type -> filer_pb.GetFilerConfigurationRequest
- 55, // 75: filer_pb.SeaweedFiler.TraverseBfsMetadata:input_type -> filer_pb.TraverseBfsMetadataRequest
- 52, // 76: filer_pb.SeaweedFiler.SubscribeMetadata:input_type -> filer_pb.SubscribeMetadataRequest
- 52, // 77: filer_pb.SeaweedFiler.SubscribeLocalMetadata:input_type -> filer_pb.SubscribeMetadataRequest
- 62, // 78: filer_pb.SeaweedFiler.KvGet:input_type -> filer_pb.KvGetRequest
- 64, // 79: filer_pb.SeaweedFiler.KvPut:input_type -> filer_pb.KvPutRequest
- 67, // 80: filer_pb.SeaweedFiler.CacheRemoteObjectToLocalCluster:input_type -> filer_pb.CacheRemoteObjectToLocalClusterRequest
- 69, // 81: filer_pb.SeaweedFiler.DistributedLock:input_type -> filer_pb.LockRequest
- 71, // 82: filer_pb.SeaweedFiler.DistributedUnlock:input_type -> filer_pb.UnlockRequest
- 73, // 83: filer_pb.SeaweedFiler.FindLockOwner:input_type -> filer_pb.FindLockOwnerRequest
- 76, // 84: filer_pb.SeaweedFiler.TransferLocks:input_type -> filer_pb.TransferLocksRequest
- 78, // 85: filer_pb.SeaweedFiler.ReplicateLock:input_type -> filer_pb.ReplicateLockRequest
- 82, // 86: filer_pb.SeaweedFiler.MountRegister:input_type -> filer_pb.MountRegisterRequest
- 84, // 87: filer_pb.SeaweedFiler.MountList:input_type -> filer_pb.MountListRequest
- 5, // 88: filer_pb.SeaweedFiler.LookupDirectoryEntry:output_type -> filer_pb.LookupDirectoryEntryResponse
- 7, // 89: filer_pb.SeaweedFiler.ListEntries:output_type -> filer_pb.ListEntriesResponse
- 22, // 90: filer_pb.SeaweedFiler.CreateEntry:output_type -> filer_pb.CreateEntryResponse
- 24, // 91: filer_pb.SeaweedFiler.UpdateEntry:output_type -> filer_pb.UpdateEntryResponse
- 26, // 92: filer_pb.SeaweedFiler.TouchAccessTime:output_type -> filer_pb.TouchAccessTimeResponse
- 28, // 93: filer_pb.SeaweedFiler.AppendToEntry:output_type -> filer_pb.AppendToEntryResponse
- 30, // 94: filer_pb.SeaweedFiler.DeleteEntry:output_type -> filer_pb.DeleteEntryResponse
- 21, // 95: filer_pb.SeaweedFiler.ObjectTransaction:output_type -> filer_pb.ObjectTransactionResponse
- 32, // 96: filer_pb.SeaweedFiler.AtomicRenameEntry:output_type -> filer_pb.AtomicRenameEntryResponse
- 34, // 97: filer_pb.SeaweedFiler.StreamRenameEntry:output_type -> filer_pb.StreamRenameEntryResponse
- 81, // 98: filer_pb.SeaweedFiler.StreamMutateEntry:output_type -> filer_pb.StreamMutateEntryResponse
- 36, // 99: filer_pb.SeaweedFiler.AssignVolume:output_type -> filer_pb.AssignVolumeResponse
- 40, // 100: filer_pb.SeaweedFiler.LookupVolume:output_type -> filer_pb.LookupVolumeResponse
- 43, // 101: filer_pb.SeaweedFiler.CollectionList:output_type -> filer_pb.CollectionListResponse
- 45, // 102: filer_pb.SeaweedFiler.DeleteCollection:output_type -> filer_pb.DeleteCollectionResponse
- 47, // 103: filer_pb.SeaweedFiler.Statistics:output_type -> filer_pb.StatisticsResponse
- 49, // 104: filer_pb.SeaweedFiler.Ping:output_type -> filer_pb.PingResponse
- 51, // 105: filer_pb.SeaweedFiler.GetFilerConfiguration:output_type -> filer_pb.GetFilerConfigurationResponse
- 56, // 106: filer_pb.SeaweedFiler.TraverseBfsMetadata:output_type -> filer_pb.TraverseBfsMetadataResponse
- 53, // 107: filer_pb.SeaweedFiler.SubscribeMetadata:output_type -> filer_pb.SubscribeMetadataResponse
- 53, // 108: filer_pb.SeaweedFiler.SubscribeLocalMetadata:output_type -> filer_pb.SubscribeMetadataResponse
- 63, // 109: filer_pb.SeaweedFiler.KvGet:output_type -> filer_pb.KvGetResponse
- 65, // 110: filer_pb.SeaweedFiler.KvPut:output_type -> filer_pb.KvPutResponse
- 68, // 111: filer_pb.SeaweedFiler.CacheRemoteObjectToLocalCluster:output_type -> filer_pb.CacheRemoteObjectToLocalClusterResponse
- 70, // 112: filer_pb.SeaweedFiler.DistributedLock:output_type -> filer_pb.LockResponse
- 72, // 113: filer_pb.SeaweedFiler.DistributedUnlock:output_type -> filer_pb.UnlockResponse
- 74, // 114: filer_pb.SeaweedFiler.FindLockOwner:output_type -> filer_pb.FindLockOwnerResponse
- 77, // 115: filer_pb.SeaweedFiler.TransferLocks:output_type -> filer_pb.TransferLocksResponse
- 79, // 116: filer_pb.SeaweedFiler.ReplicateLock:output_type -> filer_pb.ReplicateLockResponse
- 83, // 117: filer_pb.SeaweedFiler.MountRegister:output_type -> filer_pb.MountRegisterResponse
- 85, // 118: filer_pb.SeaweedFiler.MountList:output_type -> filer_pb.MountListResponse
- 88, // [88:119] is the sub-list for method output_type
- 57, // [57:88] is the sub-list for method input_type
- 57, // [57:57] is the sub-list for extension type_name
- 57, // [57:57] is the sub-list for extension extendee
- 0, // [0:57] is the sub-list for field type_name
+ 20, // 24: filer_pb.ObjectTransactionBatchRequest.transactions:type_name -> filer_pb.ObjectTransactionRequest
+ 21, // 25: filer_pb.ObjectTransactionBatchResponse.responses:type_name -> filer_pb.ObjectTransactionResponse
+ 55, // 26: filer_pb.CreateEntryResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse
+ 1, // 27: filer_pb.CreateEntryResponse.error_code:type_name -> filer_pb.FilerError
+ 9, // 28: filer_pb.UpdateEntryRequest.entry:type_name -> filer_pb.Entry
+ 93, // 29: filer_pb.UpdateEntryRequest.expected_extended:type_name -> filer_pb.UpdateEntryRequest.ExpectedExtendedEntry
+ 55, // 30: filer_pb.UpdateEntryResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse
+ 12, // 31: filer_pb.AppendToEntryRequest.chunks:type_name -> filer_pb.FileChunk
+ 55, // 32: filer_pb.DeleteEntryResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse
+ 11, // 33: filer_pb.StreamRenameEntryResponse.event_notification:type_name -> filer_pb.EventNotification
+ 41, // 34: filer_pb.AssignVolumeResponse.location:type_name -> filer_pb.Location
+ 41, // 35: filer_pb.Locations.locations:type_name -> filer_pb.Location
+ 94, // 36: filer_pb.LookupVolumeResponse.locations_map:type_name -> filer_pb.LookupVolumeResponse.LocationsMapEntry
+ 43, // 37: filer_pb.CollectionListResponse.collections:type_name -> filer_pb.Collection
+ 11, // 38: filer_pb.SubscribeMetadataResponse.event_notification:type_name -> filer_pb.EventNotification
+ 55, // 39: filer_pb.SubscribeMetadataResponse.events:type_name -> filer_pb.SubscribeMetadataResponse
+ 56, // 40: filer_pb.SubscribeMetadataResponse.log_file_refs:type_name -> filer_pb.LogFileChunkRef
+ 12, // 41: filer_pb.LogFileChunkRef.chunks:type_name -> filer_pb.FileChunk
+ 9, // 42: filer_pb.TraverseBfsMetadataResponse.entry:type_name -> filer_pb.Entry
+ 95, // 43: filer_pb.LocateBrokerResponse.resources:type_name -> filer_pb.LocateBrokerResponse.Resource
+ 96, // 44: filer_pb.FilerConf.locations:type_name -> filer_pb.FilerConf.PathConf
+ 9, // 45: filer_pb.CacheRemoteObjectToLocalClusterResponse.entry:type_name -> filer_pb.Entry
+ 55, // 46: filer_pb.CacheRemoteObjectToLocalClusterResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse
+ 77, // 47: filer_pb.TransferLocksRequest.locks:type_name -> filer_pb.Lock
+ 16, // 48: filer_pb.StreamMutateEntryRequest.create_request:type_name -> filer_pb.CreateEntryRequest
+ 25, // 49: filer_pb.StreamMutateEntryRequest.update_request:type_name -> filer_pb.UpdateEntryRequest
+ 31, // 50: filer_pb.StreamMutateEntryRequest.delete_request:type_name -> filer_pb.DeleteEntryRequest
+ 35, // 51: filer_pb.StreamMutateEntryRequest.rename_request:type_name -> filer_pb.StreamRenameEntryRequest
+ 24, // 52: filer_pb.StreamMutateEntryResponse.create_response:type_name -> filer_pb.CreateEntryResponse
+ 26, // 53: filer_pb.StreamMutateEntryResponse.update_response:type_name -> filer_pb.UpdateEntryResponse
+ 32, // 54: filer_pb.StreamMutateEntryResponse.delete_response:type_name -> filer_pb.DeleteEntryResponse
+ 36, // 55: filer_pb.StreamMutateEntryResponse.rename_response:type_name -> filer_pb.StreamRenameEntryResponse
+ 88, // 56: filer_pb.MountListResponse.mounts:type_name -> filer_pb.MountInfo
+ 2, // 57: filer_pb.WriteCondition.Clause.kind:type_name -> filer_pb.WriteCondition.Kind
+ 40, // 58: filer_pb.LookupVolumeResponse.LocationsMapEntry.value:type_name -> filer_pb.Locations
+ 4, // 59: filer_pb.SeaweedFiler.LookupDirectoryEntry:input_type -> filer_pb.LookupDirectoryEntryRequest
+ 6, // 60: filer_pb.SeaweedFiler.ListEntries:input_type -> filer_pb.ListEntriesRequest
+ 16, // 61: filer_pb.SeaweedFiler.CreateEntry:input_type -> filer_pb.CreateEntryRequest
+ 25, // 62: filer_pb.SeaweedFiler.UpdateEntry:input_type -> filer_pb.UpdateEntryRequest
+ 27, // 63: filer_pb.SeaweedFiler.TouchAccessTime:input_type -> filer_pb.TouchAccessTimeRequest
+ 29, // 64: filer_pb.SeaweedFiler.AppendToEntry:input_type -> filer_pb.AppendToEntryRequest
+ 31, // 65: filer_pb.SeaweedFiler.DeleteEntry:input_type -> filer_pb.DeleteEntryRequest
+ 20, // 66: filer_pb.SeaweedFiler.ObjectTransaction:input_type -> filer_pb.ObjectTransactionRequest
+ 22, // 67: filer_pb.SeaweedFiler.ObjectTransactionBatch:input_type -> filer_pb.ObjectTransactionBatchRequest
+ 33, // 68: filer_pb.SeaweedFiler.AtomicRenameEntry:input_type -> filer_pb.AtomicRenameEntryRequest
+ 35, // 69: filer_pb.SeaweedFiler.StreamRenameEntry:input_type -> filer_pb.StreamRenameEntryRequest
+ 82, // 70: filer_pb.SeaweedFiler.StreamMutateEntry:input_type -> filer_pb.StreamMutateEntryRequest
+ 37, // 71: filer_pb.SeaweedFiler.AssignVolume:input_type -> filer_pb.AssignVolumeRequest
+ 39, // 72: filer_pb.SeaweedFiler.LookupVolume:input_type -> filer_pb.LookupVolumeRequest
+ 44, // 73: filer_pb.SeaweedFiler.CollectionList:input_type -> filer_pb.CollectionListRequest
+ 46, // 74: filer_pb.SeaweedFiler.DeleteCollection:input_type -> filer_pb.DeleteCollectionRequest
+ 48, // 75: filer_pb.SeaweedFiler.Statistics:input_type -> filer_pb.StatisticsRequest
+ 50, // 76: filer_pb.SeaweedFiler.Ping:input_type -> filer_pb.PingRequest
+ 52, // 77: filer_pb.SeaweedFiler.GetFilerConfiguration:input_type -> filer_pb.GetFilerConfigurationRequest
+ 57, // 78: filer_pb.SeaweedFiler.TraverseBfsMetadata:input_type -> filer_pb.TraverseBfsMetadataRequest
+ 54, // 79: filer_pb.SeaweedFiler.SubscribeMetadata:input_type -> filer_pb.SubscribeMetadataRequest
+ 54, // 80: filer_pb.SeaweedFiler.SubscribeLocalMetadata:input_type -> filer_pb.SubscribeMetadataRequest
+ 64, // 81: filer_pb.SeaweedFiler.KvGet:input_type -> filer_pb.KvGetRequest
+ 66, // 82: filer_pb.SeaweedFiler.KvPut:input_type -> filer_pb.KvPutRequest
+ 69, // 83: filer_pb.SeaweedFiler.CacheRemoteObjectToLocalCluster:input_type -> filer_pb.CacheRemoteObjectToLocalClusterRequest
+ 71, // 84: filer_pb.SeaweedFiler.DistributedLock:input_type -> filer_pb.LockRequest
+ 73, // 85: filer_pb.SeaweedFiler.DistributedUnlock:input_type -> filer_pb.UnlockRequest
+ 75, // 86: filer_pb.SeaweedFiler.FindLockOwner:input_type -> filer_pb.FindLockOwnerRequest
+ 78, // 87: filer_pb.SeaweedFiler.TransferLocks:input_type -> filer_pb.TransferLocksRequest
+ 80, // 88: filer_pb.SeaweedFiler.ReplicateLock:input_type -> filer_pb.ReplicateLockRequest
+ 84, // 89: filer_pb.SeaweedFiler.MountRegister:input_type -> filer_pb.MountRegisterRequest
+ 86, // 90: filer_pb.SeaweedFiler.MountList:input_type -> filer_pb.MountListRequest
+ 5, // 91: filer_pb.SeaweedFiler.LookupDirectoryEntry:output_type -> filer_pb.LookupDirectoryEntryResponse
+ 7, // 92: filer_pb.SeaweedFiler.ListEntries:output_type -> filer_pb.ListEntriesResponse
+ 24, // 93: filer_pb.SeaweedFiler.CreateEntry:output_type -> filer_pb.CreateEntryResponse
+ 26, // 94: filer_pb.SeaweedFiler.UpdateEntry:output_type -> filer_pb.UpdateEntryResponse
+ 28, // 95: filer_pb.SeaweedFiler.TouchAccessTime:output_type -> filer_pb.TouchAccessTimeResponse
+ 30, // 96: filer_pb.SeaweedFiler.AppendToEntry:output_type -> filer_pb.AppendToEntryResponse
+ 32, // 97: filer_pb.SeaweedFiler.DeleteEntry:output_type -> filer_pb.DeleteEntryResponse
+ 21, // 98: filer_pb.SeaweedFiler.ObjectTransaction:output_type -> filer_pb.ObjectTransactionResponse
+ 23, // 99: filer_pb.SeaweedFiler.ObjectTransactionBatch:output_type -> filer_pb.ObjectTransactionBatchResponse
+ 34, // 100: filer_pb.SeaweedFiler.AtomicRenameEntry:output_type -> filer_pb.AtomicRenameEntryResponse
+ 36, // 101: filer_pb.SeaweedFiler.StreamRenameEntry:output_type -> filer_pb.StreamRenameEntryResponse
+ 83, // 102: filer_pb.SeaweedFiler.StreamMutateEntry:output_type -> filer_pb.StreamMutateEntryResponse
+ 38, // 103: filer_pb.SeaweedFiler.AssignVolume:output_type -> filer_pb.AssignVolumeResponse
+ 42, // 104: filer_pb.SeaweedFiler.LookupVolume:output_type -> filer_pb.LookupVolumeResponse
+ 45, // 105: filer_pb.SeaweedFiler.CollectionList:output_type -> filer_pb.CollectionListResponse
+ 47, // 106: filer_pb.SeaweedFiler.DeleteCollection:output_type -> filer_pb.DeleteCollectionResponse
+ 49, // 107: filer_pb.SeaweedFiler.Statistics:output_type -> filer_pb.StatisticsResponse
+ 51, // 108: filer_pb.SeaweedFiler.Ping:output_type -> filer_pb.PingResponse
+ 53, // 109: filer_pb.SeaweedFiler.GetFilerConfiguration:output_type -> filer_pb.GetFilerConfigurationResponse
+ 58, // 110: filer_pb.SeaweedFiler.TraverseBfsMetadata:output_type -> filer_pb.TraverseBfsMetadataResponse
+ 55, // 111: filer_pb.SeaweedFiler.SubscribeMetadata:output_type -> filer_pb.SubscribeMetadataResponse
+ 55, // 112: filer_pb.SeaweedFiler.SubscribeLocalMetadata:output_type -> filer_pb.SubscribeMetadataResponse
+ 65, // 113: filer_pb.SeaweedFiler.KvGet:output_type -> filer_pb.KvGetResponse
+ 67, // 114: filer_pb.SeaweedFiler.KvPut:output_type -> filer_pb.KvPutResponse
+ 70, // 115: filer_pb.SeaweedFiler.CacheRemoteObjectToLocalCluster:output_type -> filer_pb.CacheRemoteObjectToLocalClusterResponse
+ 72, // 116: filer_pb.SeaweedFiler.DistributedLock:output_type -> filer_pb.LockResponse
+ 74, // 117: filer_pb.SeaweedFiler.DistributedUnlock:output_type -> filer_pb.UnlockResponse
+ 76, // 118: filer_pb.SeaweedFiler.FindLockOwner:output_type -> filer_pb.FindLockOwnerResponse
+ 79, // 119: filer_pb.SeaweedFiler.TransferLocks:output_type -> filer_pb.TransferLocksResponse
+ 81, // 120: filer_pb.SeaweedFiler.ReplicateLock:output_type -> filer_pb.ReplicateLockResponse
+ 85, // 121: filer_pb.SeaweedFiler.MountRegister:output_type -> filer_pb.MountRegisterResponse
+ 87, // 122: filer_pb.SeaweedFiler.MountList:output_type -> filer_pb.MountListResponse
+ 91, // [91:123] is the sub-list for method output_type
+ 59, // [59:91] is the sub-list for method input_type
+ 59, // [59:59] is the sub-list for extension type_name
+ 59, // [59:59] is the sub-list for extension extendee
+ 0, // [0:59] is the sub-list for field type_name
}
func init() { file_filer_proto_init() }
@@ -6911,13 +7015,13 @@ func file_filer_proto_init() {
if File_filer_proto != nil {
return
}
- file_filer_proto_msgTypes[76].OneofWrappers = []any{
+ file_filer_proto_msgTypes[78].OneofWrappers = []any{
(*StreamMutateEntryRequest_CreateRequest)(nil),
(*StreamMutateEntryRequest_UpdateRequest)(nil),
(*StreamMutateEntryRequest_DeleteRequest)(nil),
(*StreamMutateEntryRequest_RenameRequest)(nil),
}
- file_filer_proto_msgTypes[77].OneofWrappers = []any{
+ file_filer_proto_msgTypes[79].OneofWrappers = []any{
(*StreamMutateEntryResponse_CreateResponse)(nil),
(*StreamMutateEntryResponse_UpdateResponse)(nil),
(*StreamMutateEntryResponse_DeleteResponse)(nil),
@@ -6929,7 +7033,7 @@ func file_filer_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_filer_proto_rawDesc), len(file_filer_proto_rawDesc)),
NumEnums: 4,
- NumMessages: 91,
+ NumMessages: 93,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/weed/pb/filer_pb/filer_grpc.pb.go b/weed/pb/filer_pb/filer_grpc.pb.go
index ebfd51ca8f..3a854d0160 100644
--- a/weed/pb/filer_pb/filer_grpc.pb.go
+++ b/weed/pb/filer_pb/filer_grpc.pb.go
@@ -27,6 +27,7 @@ const (
SeaweedFiler_AppendToEntry_FullMethodName = "/filer_pb.SeaweedFiler/AppendToEntry"
SeaweedFiler_DeleteEntry_FullMethodName = "/filer_pb.SeaweedFiler/DeleteEntry"
SeaweedFiler_ObjectTransaction_FullMethodName = "/filer_pb.SeaweedFiler/ObjectTransaction"
+ SeaweedFiler_ObjectTransactionBatch_FullMethodName = "/filer_pb.SeaweedFiler/ObjectTransactionBatch"
SeaweedFiler_AtomicRenameEntry_FullMethodName = "/filer_pb.SeaweedFiler/AtomicRenameEntry"
SeaweedFiler_StreamRenameEntry_FullMethodName = "/filer_pb.SeaweedFiler/StreamRenameEntry"
SeaweedFiler_StreamMutateEntry_FullMethodName = "/filer_pb.SeaweedFiler/StreamMutateEntry"
@@ -64,6 +65,7 @@ type SeaweedFilerClient interface {
AppendToEntry(ctx context.Context, in *AppendToEntryRequest, opts ...grpc.CallOption) (*AppendToEntryResponse, error)
DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*DeleteEntryResponse, error)
ObjectTransaction(ctx context.Context, in *ObjectTransactionRequest, opts ...grpc.CallOption) (*ObjectTransactionResponse, error)
+ ObjectTransactionBatch(ctx context.Context, in *ObjectTransactionBatchRequest, opts ...grpc.CallOption) (*ObjectTransactionBatchResponse, error)
AtomicRenameEntry(ctx context.Context, in *AtomicRenameEntryRequest, opts ...grpc.CallOption) (*AtomicRenameEntryResponse, error)
StreamRenameEntry(ctx context.Context, in *StreamRenameEntryRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[StreamRenameEntryResponse], error)
StreamMutateEntry(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[StreamMutateEntryRequest, StreamMutateEntryResponse], error)
@@ -189,6 +191,16 @@ func (c *seaweedFilerClient) ObjectTransaction(ctx context.Context, in *ObjectTr
return out, nil
}
+func (c *seaweedFilerClient) ObjectTransactionBatch(ctx context.Context, in *ObjectTransactionBatchRequest, opts ...grpc.CallOption) (*ObjectTransactionBatchResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
+ out := new(ObjectTransactionBatchResponse)
+ err := c.cc.Invoke(ctx, SeaweedFiler_ObjectTransactionBatch_FullMethodName, in, out, cOpts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
func (c *seaweedFilerClient) AtomicRenameEntry(ctx context.Context, in *AtomicRenameEntryRequest, opts ...grpc.CallOption) (*AtomicRenameEntryResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(AtomicRenameEntryResponse)
@@ -470,6 +482,7 @@ type SeaweedFilerServer interface {
AppendToEntry(context.Context, *AppendToEntryRequest) (*AppendToEntryResponse, error)
DeleteEntry(context.Context, *DeleteEntryRequest) (*DeleteEntryResponse, error)
ObjectTransaction(context.Context, *ObjectTransactionRequest) (*ObjectTransactionResponse, error)
+ ObjectTransactionBatch(context.Context, *ObjectTransactionBatchRequest) (*ObjectTransactionBatchResponse, error)
AtomicRenameEntry(context.Context, *AtomicRenameEntryRequest) (*AtomicRenameEntryResponse, error)
StreamRenameEntry(*StreamRenameEntryRequest, grpc.ServerStreamingServer[StreamRenameEntryResponse]) error
StreamMutateEntry(grpc.BidiStreamingServer[StreamMutateEntryRequest, StreamMutateEntryResponse]) error
@@ -530,6 +543,9 @@ func (UnimplementedSeaweedFilerServer) DeleteEntry(context.Context, *DeleteEntry
func (UnimplementedSeaweedFilerServer) ObjectTransaction(context.Context, *ObjectTransactionRequest) (*ObjectTransactionResponse, error) {
return nil, status.Error(codes.Unimplemented, "method ObjectTransaction not implemented")
}
+func (UnimplementedSeaweedFilerServer) ObjectTransactionBatch(context.Context, *ObjectTransactionBatchRequest) (*ObjectTransactionBatchResponse, error) {
+ return nil, status.Error(codes.Unimplemented, "method ObjectTransactionBatch not implemented")
+}
func (UnimplementedSeaweedFilerServer) AtomicRenameEntry(context.Context, *AtomicRenameEntryRequest) (*AtomicRenameEntryResponse, error) {
return nil, status.Error(codes.Unimplemented, "method AtomicRenameEntry not implemented")
}
@@ -757,6 +773,24 @@ func _SeaweedFiler_ObjectTransaction_Handler(srv interface{}, ctx context.Contex
return interceptor(ctx, in, info, handler)
}
+func _SeaweedFiler_ObjectTransactionBatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(ObjectTransactionBatchRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(SeaweedFilerServer).ObjectTransactionBatch(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: SeaweedFiler_ObjectTransactionBatch_FullMethodName,
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(SeaweedFilerServer).ObjectTransactionBatch(ctx, req.(*ObjectTransactionBatchRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
func _SeaweedFiler_AtomicRenameEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AtomicRenameEntryRequest)
if err := dec(in); err != nil {
@@ -1167,6 +1201,10 @@ var SeaweedFiler_ServiceDesc = grpc.ServiceDesc{
MethodName: "ObjectTransaction",
Handler: _SeaweedFiler_ObjectTransaction_Handler,
},
+ {
+ MethodName: "ObjectTransactionBatch",
+ Handler: _SeaweedFiler_ObjectTransactionBatch_Handler,
+ },
{
MethodName: "AtomicRenameEntry",
Handler: _SeaweedFiler_AtomicRenameEntry_Handler,
diff --git a/weed/server/filer_grpc_server.go b/weed/server/filer_grpc_server.go
index dcfb9ebdb7..4aadf677a3 100644
--- a/weed/server/filer_grpc_server.go
+++ b/weed/server/filer_grpc_server.go
@@ -282,6 +282,39 @@ func (fs *FilerServer) ObjectTransaction(ctx context.Context, req *filer_pb.Obje
return &filer_pb.ObjectTransactionResponse{}, nil
}
+// ObjectTransactionBatch applies several object transactions in one round trip,
+// each under its own per-path lock and independent of the others. A failed
+// transaction (precondition or mutation error) is reported in its own response
+// without aborting the rest, matching S3 multi-object semantics where each key
+// succeeds or fails on its own.
+func (fs *FilerServer) ObjectTransactionBatch(ctx context.Context, req *filer_pb.ObjectTransactionBatchRequest) (*filer_pb.ObjectTransactionBatchResponse, error) {
+ if req == nil {
+ return nil, status.Error(codes.InvalidArgument, "request is required")
+ }
+ resp := &filer_pb.ObjectTransactionBatchResponse{
+ Responses: make([]*filer_pb.ObjectTransactionResponse, 0, len(req.Transactions)),
+ }
+ for _, txn := range req.Transactions {
+ // Stop early if the caller went away; the request still holds the
+ // unprocessed transactions, so it is retried rather than lost.
+ if err := ctx.Err(); err != nil {
+ return nil, err
+ }
+ if txn == nil {
+ resp.Responses = append(resp.Responses, &filer_pb.ObjectTransactionResponse{Error: "nil transaction"})
+ continue
+ }
+ one, err := fs.ObjectTransaction(ctx, txn)
+ if err != nil {
+ // A transport-level error on one transaction is surfaced as that
+ // transaction's error; the batch RPC itself still succeeds.
+ one = &filer_pb.ObjectTransactionResponse{Error: err.Error()}
+ }
+ resp.Responses = append(resp.Responses, one)
+ }
+ return resp, nil
+}
+
// applyObjectMutation applies a single mutation while the transaction's path
// lock is held. PUT entries are expected to be fully prepared by the caller
// (chunks resolved); mutations here are metadata-scoped. A DELETE of an absent
diff --git a/weed/server/filer_grpc_server_object_txn_test.go b/weed/server/filer_grpc_server_object_txn_test.go
index 1fcc146967..50f5cdf575 100644
--- a/weed/server/filer_grpc_server_object_txn_test.go
+++ b/weed/server/filer_grpc_server_object_txn_test.go
@@ -246,6 +246,92 @@ func TestObjectTransactionRecomputeAscending(t *testing.T) {
}
}
+// A batch applies each transaction independently: one failed precondition does
+// not abort the others, matching S3 multi-object delete semantics.
+func TestObjectTransactionBatchIndependent(t *testing.T) {
+ now := time.Unix(1700000000, 0)
+ obj := func(inode uint64) *filer.Entry {
+ return &filer.Entry{
+ Attr: filer.Attr{Inode: inode, Mtime: now, Crtime: now, Mode: 0644},
+ Extended: map[string][]byte{s3_constants.ExtETagKey: []byte("abc")},
+ }
+ }
+ fs, store := newTxnTestServer(map[string]*filer.Entry{
+ "/buckets/b/a": obj(1),
+ "/buckets/b/c": obj(3),
+ })
+
+ del := func(name string, cond *filer_pb.WriteCondition) *filer_pb.ObjectTransactionRequest {
+ return &filer_pb.ObjectTransactionRequest{
+ LockKey: "/buckets/b/" + name,
+ Condition: cond,
+ Mutations: []*filer_pb.ObjectMutation{
+ {Type: filer_pb.ObjectMutation_DELETE, Directory: "/buckets/b", Name: name},
+ },
+ }
+ }
+
+ resp, err := fs.ObjectTransactionBatch(context.Background(), &filer_pb.ObjectTransactionBatchRequest{
+ Transactions: []*filer_pb.ObjectTransactionRequest{
+ del("a", nil),
+ del("c", &filer_pb.WriteCondition{Clauses: []*filer_pb.WriteCondition_Clause{
+ {Kind: filer_pb.WriteCondition_IF_ETAG_MATCH, Etags: []string{`"zzz"`}},
+ }}),
+ },
+ })
+ if err != nil {
+ t.Fatalf("unexpected err: %v", err)
+ }
+ if len(resp.Responses) != 2 {
+ t.Fatalf("want 2 responses, got %d", len(resp.Responses))
+ }
+ if resp.Responses[0].Error != "" {
+ t.Errorf("delete a should succeed: %q", resp.Responses[0].Error)
+ }
+ if resp.Responses[1].ErrorCode != filer_pb.FilerError_PRECONDITION_FAILED {
+ t.Errorf("delete c should fail precondition, got %v", resp.Responses[1].ErrorCode)
+ }
+ if _, ok := store.entries["/buckets/b/a"]; ok {
+ t.Errorf("a should be deleted")
+ }
+ if _, ok := store.entries["/buckets/b/c"]; !ok {
+ t.Errorf("c should survive its failed precondition")
+ }
+}
+
+// A nil transaction in a batch yields an error response in its slot rather than
+// panicking, keeping responses parallel to the requests.
+func TestObjectTransactionBatchNilTransaction(t *testing.T) {
+ now := time.Unix(1700000000, 0)
+ fs, store := newTxnTestServer(map[string]*filer.Entry{
+ "/buckets/b/a": {Attr: filer.Attr{Inode: 1, Mtime: now, Crtime: now, Mode: 0644}},
+ })
+
+ resp, err := fs.ObjectTransactionBatch(context.Background(), &filer_pb.ObjectTransactionBatchRequest{
+ Transactions: []*filer_pb.ObjectTransactionRequest{
+ nil,
+ {LockKey: "/buckets/b/a", Mutations: []*filer_pb.ObjectMutation{
+ {Type: filer_pb.ObjectMutation_DELETE, Directory: "/buckets/b", Name: "a"},
+ }},
+ },
+ })
+ if err != nil {
+ t.Fatalf("unexpected err: %v", err)
+ }
+ if len(resp.Responses) != 2 {
+ t.Fatalf("want 2 responses (parallel to requests), got %d", len(resp.Responses))
+ }
+ if resp.Responses[0].Error == "" {
+ t.Errorf("nil transaction should produce an error response")
+ }
+ if resp.Responses[1].Error != "" {
+ t.Errorf("valid transaction should succeed: %q", resp.Responses[1].Error)
+ }
+ if _, ok := store.entries["/buckets/b/a"]; ok {
+ t.Errorf("a should be deleted by the valid transaction")
+ }
+}
+
// DELETE and PATCH of an absent entry are no-ops, so a replayed transaction
// does not error.
func TestObjectTransactionIdempotentNoops(t *testing.T) {