From 69bdae7f7db3509d8050bb7bd4ac8e4595276e3c Mon Sep 17 00:00:00 2001 From: "Jonathan A. Sternberg" Date: Thu, 23 Apr 2020 16:16:52 -0500 Subject: [PATCH] refactor(storage/reads): refactor the capabilities interface (#17850) The capabilities interface will now return a mapping of capabilities to a capabilities object. The capabilities object will contain a list of features supported by the capability. --- storage/reads/datatypes/storage_common.pb.go | 464 +++++++++++++------ storage/reads/datatypes/storage_common.proto | 11 +- 2 files changed, 336 insertions(+), 139 deletions(-) diff --git a/storage/reads/datatypes/storage_common.pb.go b/storage/reads/datatypes/storage_common.pb.go index 2baf2206f1e..9cc244f9a71 100644 --- a/storage/reads/datatypes/storage_common.pb.go +++ b/storage/reads/datatypes/storage_common.pb.go @@ -210,7 +210,7 @@ func (x MeasurementFieldsResponse_FieldType) String() string { } func (MeasurementFieldsResponse_FieldType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_715e4bf4cdf1f73d, []int{14, 0} + return fileDescriptor_715e4bf4cdf1f73d, []int{15, 0} } type ReadFilterRequest struct { @@ -828,15 +828,54 @@ func (m *ReadResponse_StringPointsFrame) XXX_DiscardUnknown() { var xxx_messageInfo_ReadResponse_StringPointsFrame proto.InternalMessageInfo +type Capability struct { + // Features contains the specific features supported + // by this capability. + Features []string `protobuf:"bytes,1,rep,name=features,proto3" json:"features,omitempty"` +} + +func (m *Capability) Reset() { *m = Capability{} } +func (m *Capability) String() string { return proto.CompactTextString(m) } +func (*Capability) ProtoMessage() {} +func (*Capability) Descriptor() ([]byte, []int) { + return fileDescriptor_715e4bf4cdf1f73d, []int{5} +} +func (m *Capability) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Capability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Capability.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Capability) XXX_Merge(src proto.Message) { + xxx_messageInfo_Capability.Merge(m, src) +} +func (m *Capability) XXX_Size() int { + return m.Size() +} +func (m *Capability) XXX_DiscardUnknown() { + xxx_messageInfo_Capability.DiscardUnknown(m) +} + +var xxx_messageInfo_Capability proto.InternalMessageInfo + type CapabilitiesResponse struct { - Caps map[string]string `protobuf:"bytes,1,rep,name=caps,proto3" json:"caps,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Caps map[string]*Capability `protobuf:"bytes,1,rep,name=caps,proto3" json:"caps,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *CapabilitiesResponse) Reset() { *m = CapabilitiesResponse{} } func (m *CapabilitiesResponse) String() string { return proto.CompactTextString(m) } func (*CapabilitiesResponse) ProtoMessage() {} func (*CapabilitiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_715e4bf4cdf1f73d, []int{5} + return fileDescriptor_715e4bf4cdf1f73d, []int{6} } func (m *CapabilitiesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -877,7 +916,7 @@ func (m *TimestampRange) Reset() { *m = TimestampRange{} } func (m *TimestampRange) String() string { return proto.CompactTextString(m) } func (*TimestampRange) ProtoMessage() {} func (*TimestampRange) Descriptor() ([]byte, []int) { - return fileDescriptor_715e4bf4cdf1f73d, []int{6} + return fileDescriptor_715e4bf4cdf1f73d, []int{7} } func (m *TimestampRange) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -917,7 +956,7 @@ func (m *TagKeysRequest) Reset() { *m = TagKeysRequest{} } func (m *TagKeysRequest) String() string { return proto.CompactTextString(m) } func (*TagKeysRequest) ProtoMessage() {} func (*TagKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_715e4bf4cdf1f73d, []int{7} + return fileDescriptor_715e4bf4cdf1f73d, []int{8} } func (m *TagKeysRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -958,7 +997,7 @@ func (m *TagValuesRequest) Reset() { *m = TagValuesRequest{} } func (m *TagValuesRequest) String() string { return proto.CompactTextString(m) } func (*TagValuesRequest) ProtoMessage() {} func (*TagValuesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_715e4bf4cdf1f73d, []int{8} + return fileDescriptor_715e4bf4cdf1f73d, []int{9} } func (m *TagValuesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -997,7 +1036,7 @@ func (m *StringValuesResponse) Reset() { *m = StringValuesResponse{} } func (m *StringValuesResponse) String() string { return proto.CompactTextString(m) } func (*StringValuesResponse) ProtoMessage() {} func (*StringValuesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_715e4bf4cdf1f73d, []int{9} + return fileDescriptor_715e4bf4cdf1f73d, []int{10} } func (m *StringValuesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1036,7 +1075,7 @@ func (m *MeasurementNamesRequest) Reset() { *m = MeasurementNamesRequest func (m *MeasurementNamesRequest) String() string { return proto.CompactTextString(m) } func (*MeasurementNamesRequest) ProtoMessage() {} func (*MeasurementNamesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_715e4bf4cdf1f73d, []int{10} + return fileDescriptor_715e4bf4cdf1f73d, []int{11} } func (m *MeasurementNamesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1077,7 +1116,7 @@ func (m *MeasurementTagKeysRequest) Reset() { *m = MeasurementTagKeysReq func (m *MeasurementTagKeysRequest) String() string { return proto.CompactTextString(m) } func (*MeasurementTagKeysRequest) ProtoMessage() {} func (*MeasurementTagKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_715e4bf4cdf1f73d, []int{11} + return fileDescriptor_715e4bf4cdf1f73d, []int{12} } func (m *MeasurementTagKeysRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1119,7 +1158,7 @@ func (m *MeasurementTagValuesRequest) Reset() { *m = MeasurementTagValue func (m *MeasurementTagValuesRequest) String() string { return proto.CompactTextString(m) } func (*MeasurementTagValuesRequest) ProtoMessage() {} func (*MeasurementTagValuesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_715e4bf4cdf1f73d, []int{12} + return fileDescriptor_715e4bf4cdf1f73d, []int{13} } func (m *MeasurementTagValuesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1160,7 +1199,7 @@ func (m *MeasurementFieldsRequest) Reset() { *m = MeasurementFieldsReque func (m *MeasurementFieldsRequest) String() string { return proto.CompactTextString(m) } func (*MeasurementFieldsRequest) ProtoMessage() {} func (*MeasurementFieldsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_715e4bf4cdf1f73d, []int{13} + return fileDescriptor_715e4bf4cdf1f73d, []int{14} } func (m *MeasurementFieldsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1198,7 +1237,7 @@ func (m *MeasurementFieldsResponse) Reset() { *m = MeasurementFieldsResp func (m *MeasurementFieldsResponse) String() string { return proto.CompactTextString(m) } func (*MeasurementFieldsResponse) ProtoMessage() {} func (*MeasurementFieldsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_715e4bf4cdf1f73d, []int{14} + return fileDescriptor_715e4bf4cdf1f73d, []int{15} } func (m *MeasurementFieldsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1239,7 +1278,7 @@ func (m *MeasurementFieldsResponse_MessageField) Reset() { func (m *MeasurementFieldsResponse_MessageField) String() string { return proto.CompactTextString(m) } func (*MeasurementFieldsResponse_MessageField) ProtoMessage() {} func (*MeasurementFieldsResponse_MessageField) Descriptor() ([]byte, []int) { - return fileDescriptor_715e4bf4cdf1f73d, []int{14, 0} + return fileDescriptor_715e4bf4cdf1f73d, []int{15, 0} } func (m *MeasurementFieldsResponse_MessageField) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1278,7 +1317,7 @@ func (m *ReadWindowAggregateRequest) Reset() { *m = ReadWindowAggregateR func (m *ReadWindowAggregateRequest) String() string { return proto.CompactTextString(m) } func (*ReadWindowAggregateRequest) ProtoMessage() {} func (*ReadWindowAggregateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_715e4bf4cdf1f73d, []int{15} + return fileDescriptor_715e4bf4cdf1f73d, []int{16} } func (m *ReadWindowAggregateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1327,8 +1366,9 @@ func init() { proto.RegisterType((*ReadResponse_UnsignedPointsFrame)(nil), "influxdata.platform.storage.ReadResponse.UnsignedPointsFrame") proto.RegisterType((*ReadResponse_BooleanPointsFrame)(nil), "influxdata.platform.storage.ReadResponse.BooleanPointsFrame") proto.RegisterType((*ReadResponse_StringPointsFrame)(nil), "influxdata.platform.storage.ReadResponse.StringPointsFrame") + proto.RegisterType((*Capability)(nil), "influxdata.platform.storage.Capability") proto.RegisterType((*CapabilitiesResponse)(nil), "influxdata.platform.storage.CapabilitiesResponse") - proto.RegisterMapType((map[string]string)(nil), "influxdata.platform.storage.CapabilitiesResponse.CapsEntry") + proto.RegisterMapType((map[string]*Capability)(nil), "influxdata.platform.storage.CapabilitiesResponse.CapsEntry") proto.RegisterType((*TimestampRange)(nil), "influxdata.platform.storage.TimestampRange") proto.RegisterType((*TagKeysRequest)(nil), "influxdata.platform.storage.TagKeysRequest") proto.RegisterType((*TagValuesRequest)(nil), "influxdata.platform.storage.TagValuesRequest") @@ -1345,112 +1385,114 @@ func init() { func init() { proto.RegisterFile("storage_common.proto", fileDescriptor_715e4bf4cdf1f73d) } var fileDescriptor_715e4bf4cdf1f73d = []byte{ - // 1673 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x58, 0xcd, 0x6f, 0x23, 0x49, - 0x15, 0x77, 0xfb, 0x2b, 0xe9, 0x67, 0xc7, 0xd3, 0xa9, 0x35, 0xb3, 0x9e, 0x9e, 0x1d, 0xb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, 0x84, 0x2f, 0xe7, 0x25, 0x95, - 0x2e, 0x8e, 0x07, 0xd8, 0xf2, 0x4d, 0xce, 0x54, 0x3e, 0x81, 0x14, 0xb3, 0x01, 0x3d, 0x00, 0x38, - 0x31, 0x5b, 0x17, 0xe7, 0xdd, 0x66, 0xab, 0x59, 0xd3, 0x62, 0xfa, 0xce, 0x74, 0x66, 0x70, 0x8f, - 0x9b, 0xae, 0x43, 0xd0, 0x3d, 0xd8, 0xe6, 0xc7, 0xd5, 0x9f, 0x6a, 0x71, 0x3d, 0x33, 0x9d, 0x19, - 0x5b, 0xec, 0xb0, 0x3a, 0xd1, 0x93, 0x9f, 0xfd, 0xa1, 0x18, 0x2b, 0xff, 0x51, 0x81, 0x25, 0x3a, - 0xba, 0x0f, 0x6a, 0xbd, 0xd1, 0xec, 0x48, 0xb0, 0xec, 0x74, 0x66, 0x6c, 0xd3, 0x53, 0x86, 0xf5, - 0x0d, 0xc8, 0x89, 0xc3, 0xee, 0x79, 0xab, 0xd1, 0xec, 0xb4, 0x35, 0x45, 0xd7, 0xa6, 0x33, 0x23, - 0xcb, 0x39, 0xce, 0x5d, 0x6a, 0x59, 0x94, 0xab, 0x5d, 0x33, 0x1b, 0xb5, 0xb6, 0x16, 0x8f, 0x72, - 0xb5, 0x89, 0x67, 0x13, 0x1f, 0xed, 0x43, 0x9e, 0x71, 0xb5, 0x8f, 0xea, 0xb5, 0xb3, 0xc3, 0xee, - 0xe1, 0xe9, 0x69, 0xb7, 0xd3, 0x38, 0xab, 0x69, 0x49, 0xfd, 0x6b, 0xd3, 0x99, 0xb1, 0x4b, 0x79, - 0xdb, 0x57, 0x1f, 0x93, 0x21, 0x3e, 0x1c, 0x0c, 0x68, 0xea, 0x08, 0x6b, 0xff, 0xa2, 0x80, 0x1a, - 0x46, 0x0f, 0xd5, 0x21, 0x19, 0x4c, 0x46, 0x3c, 0x81, 0x73, 0x07, 0x1f, 0xac, 0x17, 0xf3, 0xe5, - 0xaa, 0x33, 0x19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00, + // 1702 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x58, 0xcd, 0x8f, 0x23, 0x47, + 0x15, 0x77, 0xfb, 0x6b, 0xa6, 0x9f, 0x3d, 0xde, 0x9e, 0x8a, 0xd9, 0x78, 0x7b, 0xb3, 0x76, 0xc7, + 0x40, 0x32, 0x12, 0x8b, 0x47, 0x9a, 0x04, 0x29, 0x5a, 0x88, 0xc4, 0x78, 0xd6, 0x33, 0x36, 0x3b, + 0x63, 0x8f, 0xda, 0x9e, 0x20, 0xb8, 0x98, 0x9a, 0x71, 0xb9, 0xd3, 0x8a, 0xdd, 0x6d, 0xba, 0xdb, + 0x61, 0x2d, 0x71, 0xe1, 0x16, 0xf9, 0x14, 0x24, 0xb8, 0x20, 0xf9, 0xc4, 0x91, 0x3b, 0x7f, 0xc3, + 0x22, 0x21, 0x91, 0x23, 0x27, 0x0b, 0xbc, 0x12, 0x12, 0x57, 0x6e, 0x84, 0x0b, 0xaa, 0xaf, 0x76, + 0x7b, 0x76, 0x99, 0xd8, 0xab, 0x39, 0xa0, 0xcd, 0xad, 0xea, 0xd5, 0xab, 0xdf, 0xfb, 0xe8, 0xf7, + 0x55, 0x0d, 0x79, 0x3f, 0x70, 0x3d, 0x6c, 0x91, 0xee, 0x95, 0x3b, 0x1c, 0xba, 0x4e, 0x65, 0xe4, + 0xb9, 0x81, 0x8b, 0xee, 0xdb, 0x4e, 0x7f, 0x30, 0x7e, 0xda, 0xc3, 0x01, 0xae, 0x8c, 0x06, 0x38, + 0xe8, 0xbb, 0xde, 0xb0, 0x22, 0x38, 0xf5, 0xbc, 0xe5, 0x5a, 0x2e, 0xe3, 0xdb, 0xa7, 0x2b, 0x7e, + 0x45, 0xbf, 0x67, 0xb9, 0xae, 0x35, 0x20, 0xfb, 0x6c, 0x77, 0x39, 0xee, 0xef, 0x63, 0x67, 0x22, + 0x8e, 0xee, 0x8c,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xa5, 0xbc, 0xed, + 0xab, 0x8f, 0xc9, 0x10, 0x1f, 0x0e, 0x06, 0x34, 0x74, 0x84, 0xb6, 0x7f, 0x51, 0x40, 0x0d, 0xbd, + 0x87, 0xea, 0x90, 0x0c, 0x26, 0x23, 0x1e, 0xc0, 0xb9, 0x83, 0xf7, 0xd7, 0xf3, 0xf9, 0x72, 0xd5, + 0x99, 0x8c, 0x88, 0xc9, 0x10, 0xca, 0x4f, 0x61, 0x67, 0x85, 0x8c, 0x4a, 0x90, 0x14, 0x3e, 0x60, + 0xfa, 0xac, 0x1c, 0x32, 0x67, 0x3c, 0x80, 0x44, 0xfb, 0xe2, 0x4c, 0x53, 0xf4, 0xfc, 0x74, 0x66, + 0x68, 0x2b, 0xe7, 0xed, 0xf1, 0x10, 0xbd, 0x0d, 0xa9, 0xa3, 0xd6, 0x45, 0xb3, 0xa3, 0xc5, 0xf5, + 0xbb, 0xd3, 0x99, 0x81, 0x56, 0x18, 0x8e, 0xdc, 0xb1, 0x13, 0x08, 0x8b, 0xbe, 0x0b, 0x89, 0x0e, + 0xb6, 0x90, 0x06, 0x89, 0x4f, 0xc8, 0x84, 0x59, 0x92, 0x35, 0xe9, 0x12, 0xe5, 0x21, 0xf5, 0x29, + 0x1e, 0x8c, 0x79, 0x76, 0x65, 0x4d, 0xbe, 0x29, 0xff, 0x3a, 0x07, 0x59, 0x1a, 0x8d, 0x26, 0xf1, + 0x47, 0xae, 0xe3, 0x13, 0x74, 0x06, 0xe9, 0xbe, 0x87, 0x87, 0xc4, 0x2f, 0x28, 0x46, 0x62, 0x2f, + 0x73, 0xb0, 0xff, 0x95, 0x81, 0x2c, 0xaf, 0x56, 0x8e, 0xe9, 0x3d, 0x91, 0x89, 0x02, 0x44, 0xff, + 0x2c, 0x0d, 0x29, 0x46, 0x47, 0xa7, 0x32, 0x41, 0xb6, 0x58, 0x44, 0xbf, 0xbf, 0x3e, 0x2e, 0x0b, + 0x30, 0x06, 0x52, 0x8f, 0xc9, 0x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 0xff, 0x25, 0xbd, 0xce, 0x3f, 0xf7, 0xaa, 0xef, + 0x3e, 0xfb, 0x7b, 0x31, 0xf6, 0x6c, 0x51, 0x54, 0xbe, 0x58, 0x14, 0x95, 0xbf, 0x2d, 0x8a, 0xca, + 0xe7, 0xcf, 0x8b, 0xb1, 0x2f, 0x9e, 0x17, 0x63, 0x7f, 0x7d, 0x5e, 0x8c, 0xfd, 0x94, 0x3d, 0x71, + 0x68, 0x80, 0xf8, 0x97, 0x69, 0x66, 0xe1, 0x7b, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x1f, 0x5f, + 0xe8, 0x6b, 0x5a, 0x16, 0x00, 0x00, } func (m *ReadFilterRequest) Marshal() (dAtA []byte, err error) { @@ -2192,6 +2234,38 @@ func (m *ReadResponse_StringPointsFrame) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } +func (m *Capability) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Capability) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Capability) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Features) > 0 { + for iNdEx := len(m.Features) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Features[iNdEx]) + copy(dAtA[i:], m.Features[iNdEx]) + i = encodeVarintStorageCommon(dAtA, i, uint64(len(m.Features[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func (m *CapabilitiesResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2216,11 +2290,18 @@ func (m *CapabilitiesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { for k := range m.Caps { v := m.Caps[k] baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintStorageCommon(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintStorageCommon(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } i -= len(k) copy(dAtA[i:], k) i = encodeVarintStorageCommon(dAtA, i, uint64(len(k))) @@ -3129,6 +3210,21 @@ func (m *ReadResponse_StringPointsFrame) Size() (n int) { return n } +func (m *Capability) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Features) > 0 { + for _, s := range m.Features { + l = len(s) + n += 1 + l + sovStorageCommon(uint64(l)) + } + } + return n +} + func (m *CapabilitiesResponse) Size() (n int) { if m == nil { return 0 @@ -3139,7 +3235,12 @@ func (m *CapabilitiesResponse) Size() (n int) { for k, v := range m.Caps { _ = k _ = v - mapEntrySize := 1 + len(k) + sovStorageCommon(uint64(len(k))) + 1 + len(v) + sovStorageCommon(uint64(len(v))) + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovStorageCommon(uint64(l)) + } + mapEntrySize := 1 + len(k) + sovStorageCommon(uint64(len(k))) + l n += mapEntrySize + 1 + sovStorageCommon(uint64(mapEntrySize)) } } @@ -5412,6 +5513,91 @@ func (m *ReadResponse_StringPointsFrame) Unmarshal(dAtA []byte) error { } return nil } +func (m *Capability) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStorageCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Capability: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Capability: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Features", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStorageCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthStorageCommon + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthStorageCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Features = append(m.Features, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipStorageCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthStorageCommon + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthStorageCommon + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *CapabilitiesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -5471,10 +5657,10 @@ func (m *CapabilitiesResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Caps == nil { - m.Caps = make(map[string]string) + m.Caps = make(map[string]*Capability) } var mapkey string - var mapvalue string + var mapvalue *Capability for iNdEx < postIndex { entryPreIndex := iNdEx var wire uint64 @@ -5523,7 +5709,7 @@ func (m *CapabilitiesResponse) Unmarshal(dAtA []byte) error { mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) iNdEx = postStringIndexmapkey } else if fieldNum == 2 { - var stringLenmapvalue uint64 + var mapmsglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowStorageCommon @@ -5533,24 +5719,26 @@ func (m *CapabilitiesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift + mapmsglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { + if mapmsglen < 0 { return ErrInvalidLengthStorageCommon } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { return ErrInvalidLengthStorageCommon } - if postStringIndexmapvalue > l { + if postmsgIndex > l { return io.ErrUnexpectedEOF } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue + mapvalue = &Capability{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex } else { iNdEx = entryPreIndex skippy, err := skipStorageCommon(dAtA[iNdEx:]) diff --git a/storage/reads/datatypes/storage_common.proto b/storage/reads/datatypes/storage_common.proto index 25e3d441992..8d2751580bb 100644 --- a/storage/reads/datatypes/storage_common.proto +++ b/storage/reads/datatypes/storage_common.proto @@ -146,8 +146,17 @@ message ReadResponse { repeated Frame frames = 1 [(gogoproto.nullable) = false]; } +message Capability { + // Features contains the specific features supported + // by this capability. + repeated string features = 1; +} + message CapabilitiesResponse { - map caps = 1; + // Capabilities contains the set of capabilities supported + // by the storage engine. It is a map of method names to + // the detailed capability information for the method. + map caps = 1; } // Specifies a continuous range of nanosecond timestamps.