gitaly 17.8.6 → 17.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e7543e34b829cf557902cf43c7240743fb390affff307c92d20810cbbaca92c
4
- data.tar.gz: d2bae2951f8ae654134ace0fdb4073f9a0c168fce498c14c8695c1869e75f0a4
3
+ metadata.gz: f69d119a2f19a1e946c440f30fed00fb59cd5647af8e8d3cd3161e224f36ff24
4
+ data.tar.gz: a0645313f9828ccde4768a5290ea3bc7b569014ee878be2ebb76c06eae35ee89
5
5
  SHA512:
6
- metadata.gz: 9d72f0c44f553f6e35dc3f0e1d62372caa2eaba8892c535088fff91ecfd87445849970b041a532277a65e873d976b9561b8d0d6a676164c7cc6c13e8255a5645
7
- data.tar.gz: 6fbaf1c8a3e6bb8164c04f31a29fcd117d7e6dcdad938b076a26e7208b981f1dcc04b817dc58c9db092d327bb4d4da1ef2cf63ce7dd5940013118b66c23b996a
6
+ metadata.gz: d8d34a2eefb4c2d7a8dabb2369bb2d1d03ea646273eb53b2722f7eb62b8d1733e99f406a1cd6f1cf1565be33fbd917a8a816ae9a1ef15204a53c0c6b4873385a
7
+ data.tar.gz: 213cc8f266fd22a9d6ef90cd993d39b8d6dcd9a44ae72d32b35c568003e56f3ded759ab967602b46bb6fb119cf17e20bedbfbed4b7f0e2fbabc7461924ab8ffd
@@ -4,10 +4,11 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
- require 'log_pb'
7
+ require 'lint_pb'
8
+ require 'raftpb/raft_pb'
8
9
 
9
10
 
10
- descriptor_data = "\n\rcluster.proto\x12\x06gitaly\x1a\tlog.proto\"\xc6\x02\n\rRaftMessageV1\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x16\n\x0e\x61uthority_name\x18\x03 \x01(\t\x12\x14\n\x0cpartition_id\x18\x04 \x01(\x04\x12#\n\tlog_entry\x18\x05 \x01(\x0b\x32\x10.gitaly.LogEntry\x12=\n\nreferenced\x18\x06 \x01(\x0b\x32\'.gitaly.RaftMessageV1.ReferencedLogDataH\x00\x12\x35\n\x06packed\x18\x07 \x01(\x0b\x32#.gitaly.RaftMessageV1.PackedLogDataH\x00\x1a!\n\x11ReferencedLogData\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x1a\x1d\n\rPackedLogData\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\n\n\x08log_data\"=\n\x0fRaftHardStateV1\x12\x0c\n\x04term\x18\x01 \x01(\x04\x12\x0c\n\x04vote\x18\x02 \x01(\x04\x12\x0e\n\x06\x63ommit\x18\x03 \x01(\x04\"w\n\x0fRaftConfStateV1\x12\x0e\n\x06voters\x18\x01 \x03(\x04\x12\x10\n\x08learners\x18\x02 \x03(\x04\x12\x17\n\x0fvoters_outgoing\x18\x03 \x03(\x04\x12\x15\n\rlearners_next\x18\x04 \x03(\x04\x12\x12\n\nauto_leave\x18\x05 \x01(\x08*S\n\x0fRaftMessageType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\n\n\x06NORMAL\x10\x01\x12\x10\n\x0cVERIFICATION\x10\x02\x12\x11\n\rCONFIG_CHANGE\x10\x03\x42\x34Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypbb\x06proto3"
11
+ descriptor_data = "\n\rcluster.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x11raftpb/raft.proto\"o\n\tRaftEntry\x12\n\n\x02id\x18\x01 \x01(\x04\x12\'\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x19.gitaly.RaftEntry.LogData\x1a-\n\x07LogData\x12\x12\n\nlocal_path\x18\x01 \x01(\x0c\x12\x0e\n\x06packed\x18\x02 \x01(\x0c\"~\n\x12RaftMessageRequest\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x1c\n\x0e\x61uthority_name\x18\x02 \x01(\tB\x04\x88\xc6,\x01\x12\x14\n\x0cpartition_id\x18\x03 \x01(\x04\x12 \n\x07message\x18\x04 \x01(\x0b\x32\x0f.raftpb.Message\"\x15\n\x13RaftMessageResponse2a\n\x0bRaftService\x12R\n\x0bSendMessage\x12\x1a.gitaly.RaftMessageRequest\x1a\x1b.gitaly.RaftMessageResponse\"\x08\xfa\x97(\x04\x08\x01\x10\x02(\x01\x42\x34Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypbb\x06proto3"
11
12
 
12
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
14
 
@@ -22,7 +23,7 @@ rescue TypeError => e
22
23
  file = pool.add_serialized_file(serialized)
23
24
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
25
  imports = [
25
- ["gitaly.LogEntry", "log.proto"],
26
+ ["raftpb.Message", "raftpb/raft.proto"],
26
27
  ]
27
28
  imports.each do |type_name, expected_filename|
28
29
  import_file = pool.lookup(type_name).file_descriptor
@@ -35,10 +36,8 @@ rescue TypeError => e
35
36
  end
36
37
 
37
38
  module Gitaly
38
- RaftMessageV1 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RaftMessageV1").msgclass
39
- RaftMessageV1::ReferencedLogData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RaftMessageV1.ReferencedLogData").msgclass
40
- RaftMessageV1::PackedLogData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RaftMessageV1.PackedLogData").msgclass
41
- RaftHardStateV1 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RaftHardStateV1").msgclass
42
- RaftConfStateV1 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RaftConfStateV1").msgclass
43
- RaftMessageType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RaftMessageType").enummodule
39
+ RaftEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RaftEntry").msgclass
40
+ RaftEntry::LogData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RaftEntry.LogData").msgclass
41
+ RaftMessageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RaftMessageRequest").msgclass
42
+ RaftMessageResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RaftMessageResponse").msgclass
44
43
  end
@@ -0,0 +1,25 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: cluster.proto for package 'gitaly'
3
+
4
+ require 'grpc'
5
+ require 'cluster_pb'
6
+
7
+ module Gitaly
8
+ module RaftService
9
+ # RaftService manages the sending of Raft messages to peers.
10
+ class Service
11
+
12
+ include ::GRPC::GenericService
13
+
14
+ self.marshal_class_method = :encode
15
+ self.unmarshal_class_method = :decode
16
+ self.service_name = 'gitaly.RaftService'
17
+
18
+ # SendMessage processes Raft messages and ensures they are handled by
19
+ # the receiving node to update its Raft state machine.
20
+ rpc :SendMessage, stream(::Gitaly::RaftMessageRequest), ::Gitaly::RaftMessageResponse
21
+ end
22
+
23
+ Stub = Service.rpc_stub_class
24
+ end
25
+ end
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: gogoproto/gogo.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/protobuf/descriptor_pb'
8
+
9
+
10
+ descriptor_data = "\n\x14gogoproto/gogo.proto\x12\tgogoproto\x1a google/protobuf/descriptor.proto:;\n\x13goproto_enum_prefix\x12\x1c.google.protobuf.EnumOptions\x18\xb1\xe4\x03 \x01(\x08:=\n\x15goproto_enum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc5\xe4\x03 \x01(\x08:5\n\renum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc6\xe4\x03 \x01(\x08:7\n\x0f\x65num_customname\x12\x1c.google.protobuf.EnumOptions\x18\xc7\xe4\x03 \x01(\t:0\n\x08\x65numdecl\x12\x1c.google.protobuf.EnumOptions\x18\xc8\xe4\x03 \x01(\x08:A\n\x14\x65numvalue_customname\x12!.google.protobuf.EnumValueOptions\x18\xd1\x83\x04 \x01(\t:;\n\x13goproto_getters_all\x12\x1c.google.protobuf.FileOptions\x18\x99\xec\x03 \x01(\x08:?\n\x17goproto_enum_prefix_all\x12\x1c.google.protobuf.FileOptions\x18\x9a\xec\x03 \x01(\x08:<\n\x14goproto_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\x9b\xec\x03 \x01(\x08:9\n\x11verbose_equal_all\x12\x1c.google.protobuf.FileOptions\x18\x9c\xec\x03 \x01(\x08:0\n\x08\x66\x61\x63\x65_all\x12\x1c.google.protobuf.FileOptions\x18\x9d\xec\x03 \x01(\x08:4\n\x0cgostring_all\x12\x1c.google.protobuf.FileOptions\x18\x9e\xec\x03 \x01(\x08:4\n\x0cpopulate_all\x12\x1c.google.protobuf.FileOptions\x18\x9f\xec\x03 \x01(\x08:4\n\x0cstringer_all\x12\x1c.google.protobuf.FileOptions\x18\xa0\xec\x03 \x01(\x08:3\n\x0bonlyone_all\x12\x1c.google.protobuf.FileOptions\x18\xa1\xec\x03 \x01(\x08:1\n\tequal_all\x12\x1c.google.protobuf.FileOptions\x18\xa5\xec\x03 \x01(\x08:7\n\x0f\x64\x65scription_all\x12\x1c.google.protobuf.FileOptions\x18\xa6\xec\x03 \x01(\x08:3\n\x0btestgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa7\xec\x03 \x01(\x08:4\n\x0c\x62\x65nchgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa8\xec\x03 \x01(\x08:5\n\rmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xa9\xec\x03 \x01(\x08:7\n\x0funmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaa\xec\x03 \x01(\x08:<\n\x14stable_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xab\xec\x03 \x01(\x08:1\n\tsizer_all\x12\x1c.google.protobuf.FileOptions\x18\xac\xec\x03 \x01(\x08:A\n\x19goproto_enum_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xad\xec\x03 \x01(\x08:9\n\x11\x65num_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xae\xec\x03 \x01(\x08:<\n\x14unsafe_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaf\xec\x03 \x01(\x08:>\n\x16unsafe_unmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xb0\xec\x03 \x01(\x08:B\n\x1agoproto_extensions_map_all\x12\x1c.google.protobuf.FileOptions\x18\xb1\xec\x03 \x01(\x08:@\n\x18goproto_unrecognized_all\x12\x1c.google.protobuf.FileOptions\x18\xb2\xec\x03 \x01(\x08:8\n\x10gogoproto_import\x12\x1c.google.protobuf.FileOptions\x18\xb3\xec\x03 \x01(\x08:6\n\x0eprotosizer_all\x12\x1c.google.protobuf.FileOptions\x18\xb4\xec\x03 \x01(\x08:3\n\x0b\x63ompare_all\x12\x1c.google.protobuf.FileOptions\x18\xb5\xec\x03 \x01(\x08:4\n\x0ctypedecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb6\xec\x03 \x01(\x08:4\n\x0c\x65numdecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb7\xec\x03 \x01(\x08:<\n\x14goproto_registration\x12\x1c.google.protobuf.FileOptions\x18\xb8\xec\x03 \x01(\x08:7\n\x0fmessagename_all\x12\x1c.google.protobuf.FileOptions\x18\xb9\xec\x03 \x01(\x08:=\n\x15goproto_sizecache_all\x12\x1c.google.protobuf.FileOptions\x18\xba\xec\x03 \x01(\x08:;\n\x13goproto_unkeyed_all\x12\x1c.google.protobuf.FileOptions\x18\xbb\xec\x03 \x01(\x08::\n\x0fgoproto_getters\x12\x1f.google.protobuf.MessageOptions\x18\x81\xf4\x03 \x01(\x08:;\n\x10goproto_stringer\x12\x1f.google.protobuf.MessageOptions\x18\x83\xf4\x03 \x01(\x08:8\n\rverbose_equal\x12\x1f.google.protobuf.MessageOptions\x18\x84\xf4\x03 \x01(\x08:/\n\x04\x66\x61\x63\x65\x12\x1f.google.protobuf.MessageOptions\x18\x85\xf4\x03 \x01(\x08:3\n\x08gostring\x12\x1f.google.protobuf.MessageOptions\x18\x86\xf4\x03 \x01(\x08:3\n\x08populate\x12\x1f.google.protobuf.MessageOptions\x18\x87\xf4\x03 \x01(\x08:3\n\x08stringer\x12\x1f.google.protobuf.MessageOptions\x18\xc0\x8b\x04 \x01(\x08:2\n\x07onlyone\x12\x1f.google.protobuf.MessageOptions\x18\x89\xf4\x03 \x01(\x08:0\n\x05\x65qual\x12\x1f.google.protobuf.MessageOptions\x18\x8d\xf4\x03 \x01(\x08:6\n\x0b\x64\x65scription\x12\x1f.google.protobuf.MessageOptions\x18\x8e\xf4\x03 \x01(\x08:2\n\x07testgen\x12\x1f.google.protobuf.MessageOptions\x18\x8f\xf4\x03 \x01(\x08:3\n\x08\x62\x65nchgen\x12\x1f.google.protobuf.MessageOptions\x18\x90\xf4\x03 \x01(\x08:4\n\tmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x91\xf4\x03 \x01(\x08:6\n\x0bunmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x92\xf4\x03 \x01(\x08:;\n\x10stable_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x93\xf4\x03 \x01(\x08:0\n\x05sizer\x12\x1f.google.protobuf.MessageOptions\x18\x94\xf4\x03 \x01(\x08:;\n\x10unsafe_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x97\xf4\x03 \x01(\x08:=\n\x12unsafe_unmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x98\xf4\x03 \x01(\x08:A\n\x16goproto_extensions_map\x12\x1f.google.protobuf.MessageOptions\x18\x99\xf4\x03 \x01(\x08:?\n\x14goproto_unrecognized\x12\x1f.google.protobuf.MessageOptions\x18\x9a\xf4\x03 \x01(\x08:5\n\nprotosizer\x12\x1f.google.protobuf.MessageOptions\x18\x9c\xf4\x03 \x01(\x08:2\n\x07\x63ompare\x12\x1f.google.protobuf.MessageOptions\x18\x9d\xf4\x03 \x01(\x08:3\n\x08typedecl\x12\x1f.google.protobuf.MessageOptions\x18\x9e\xf4\x03 \x01(\x08:6\n\x0bmessagename\x12\x1f.google.protobuf.MessageOptions\x18\xa1\xf4\x03 \x01(\x08:<\n\x11goproto_sizecache\x12\x1f.google.protobuf.MessageOptions\x18\xa2\xf4\x03 \x01(\x08::\n\x0fgoproto_unkeyed\x12\x1f.google.protobuf.MessageOptions\x18\xa3\xf4\x03 \x01(\x08:1\n\x08nullable\x12\x1d.google.protobuf.FieldOptions\x18\xe9\xfb\x03 \x01(\x08:.\n\x05\x65mbed\x12\x1d.google.protobuf.FieldOptions\x18\xea\xfb\x03 \x01(\x08:3\n\ncustomtype\x12\x1d.google.protobuf.FieldOptions\x18\xeb\xfb\x03 \x01(\t:3\n\ncustomname\x12\x1d.google.protobuf.FieldOptions\x18\xec\xfb\x03 \x01(\t:0\n\x07jsontag\x12\x1d.google.protobuf.FieldOptions\x18\xed\xfb\x03 \x01(\t:1\n\x08moretags\x12\x1d.google.protobuf.FieldOptions\x18\xee\xfb\x03 \x01(\t:1\n\x08\x63\x61sttype\x12\x1d.google.protobuf.FieldOptions\x18\xef\xfb\x03 \x01(\t:0\n\x07\x63\x61stkey\x12\x1d.google.protobuf.FieldOptions\x18\xf0\xfb\x03 \x01(\t:2\n\tcastvalue\x12\x1d.google.protobuf.FieldOptions\x18\xf1\xfb\x03 \x01(\t:0\n\x07stdtime\x12\x1d.google.protobuf.FieldOptions\x18\xf2\xfb\x03 \x01(\x08:4\n\x0bstdduration\x12\x1d.google.protobuf.FieldOptions\x18\xf3\xfb\x03 \x01(\x08:3\n\nwktpointer\x12\x1d.google.protobuf.FieldOptions\x18\xf4\xfb\x03 \x01(\x08\x42\x45\n\x13\x63om.google.protobufB\nGoGoProtosZ\"github.com/gogo/protobuf/gogoproto"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
+ end
31
+ end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
34
+ end
35
+
36
+ module Gogoproto
37
+ end
@@ -0,0 +1,50 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: raftpb/raft.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'gogoproto/gogo_pb'
8
+
9
+
10
+ descriptor_data = "\n\x11raftpb/raft.proto\x12\x06raftpb\x1a\x14gogoproto/gogo.proto\"e\n\x05\x45ntry\x12\x12\n\x04Term\x18\x02 \x01(\x04\x42\x04\xc8\xde\x1f\x00\x12\x13\n\x05Index\x18\x03 \x01(\x04\x42\x04\xc8\xde\x1f\x00\x12%\n\x04Type\x18\x01 \x01(\x0e\x32\x11.raftpb.EntryTypeB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04\x44\x61ta\x18\x04 \x01(\x0c\"h\n\x10SnapshotMetadata\x12+\n\nconf_state\x18\x01 \x01(\x0b\x32\x11.raftpb.ConfStateB\x04\xc8\xde\x1f\x00\x12\x13\n\x05index\x18\x02 \x01(\x04\x42\x04\xc8\xde\x1f\x00\x12\x12\n\x04term\x18\x03 \x01(\x04\x42\x04\xc8\xde\x1f\x00\"J\n\x08Snapshot\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x30\n\x08metadata\x18\x02 \x01(\x0b\x32\x18.raftpb.SnapshotMetadataB\x04\xc8\xde\x1f\x00\"\x83\x03\n\x07Message\x12\'\n\x04type\x18\x01 \x01(\x0e\x32\x13.raftpb.MessageTypeB\x04\xc8\xde\x1f\x00\x12\x10\n\x02to\x18\x02 \x01(\x04\x42\x04\xc8\xde\x1f\x00\x12\x12\n\x04\x66rom\x18\x03 \x01(\x04\x42\x04\xc8\xde\x1f\x00\x12\x12\n\x04term\x18\x04 \x01(\x04\x42\x04\xc8\xde\x1f\x00\x12\x15\n\x07logTerm\x18\x05 \x01(\x04\x42\x04\xc8\xde\x1f\x00\x12\x13\n\x05index\x18\x06 \x01(\x04\x42\x04\xc8\xde\x1f\x00\x12$\n\x07\x65ntries\x18\x07 \x03(\x0b\x32\r.raftpb.EntryB\x04\xc8\xde\x1f\x00\x12\x14\n\x06\x63ommit\x18\x08 \x01(\x04\x42\x04\xc8\xde\x1f\x00\x12\x12\n\x04vote\x18\r \x01(\x04\x42\x04\xc8\xde\x1f\x00\x12(\n\x08snapshot\x18\t \x01(\x0b\x32\x10.raftpb.SnapshotB\x04\xc8\xde\x1f\x01\x12\x14\n\x06reject\x18\n \x01(\x08\x42\x04\xc8\xde\x1f\x00\x12\x18\n\nrejectHint\x18\x0b \x01(\x04\x42\x04\xc8\xde\x1f\x00\x12\x15\n\x07\x63ontext\x18\x0c \x01(\x0c\x42\x04\xc8\xde\x1f\x01\x12(\n\tresponses\x18\x0e \x03(\x0b\x32\x0f.raftpb.MessageB\x04\xc8\xde\x1f\x00\"I\n\tHardState\x12\x12\n\x04term\x18\x01 \x01(\x04\x42\x04\xc8\xde\x1f\x00\x12\x12\n\x04vote\x18\x02 \x01(\x04\x42\x04\xc8\xde\x1f\x00\x12\x14\n\x06\x63ommit\x18\x03 \x01(\x04\x42\x04\xc8\xde\x1f\x00\"w\n\tConfState\x12\x0e\n\x06voters\x18\x01 \x03(\x04\x12\x10\n\x08learners\x18\x02 \x03(\x04\x12\x17\n\x0fvoters_outgoing\x18\x03 \x03(\x04\x12\x15\n\rlearners_next\x18\x04 \x03(\x04\x12\x18\n\nauto_leave\x18\x05 \x01(\x08\x42\x04\xc8\xde\x1f\x00\"\x82\x01\n\nConfChange\x12*\n\x04type\x18\x02 \x01(\x0e\x32\x16.raftpb.ConfChangeTypeB\x04\xc8\xde\x1f\x00\x12\x1f\n\x07node_id\x18\x03 \x01(\x04\x42\x0e\xc8\xde\x1f\x00\xe2\xde\x1f\x06NodeID\x12\x0f\n\x07\x63ontext\x18\x04 \x01(\x0c\x12\x16\n\x02id\x18\x01 \x01(\x04\x42\n\xc8\xde\x1f\x00\xe2\xde\x1f\x02ID\"_\n\x10\x43onfChangeSingle\x12*\n\x04type\x18\x01 \x01(\x0e\x32\x16.raftpb.ConfChangeTypeB\x04\xc8\xde\x1f\x00\x12\x1f\n\x07node_id\x18\x02 \x01(\x04\x42\x0e\xc8\xde\x1f\x00\xe2\xde\x1f\x06NodeID\"\x88\x01\n\x0c\x43onfChangeV2\x12\x36\n\ntransition\x18\x01 \x01(\x0e\x32\x1c.raftpb.ConfChangeTransitionB\x04\xc8\xde\x1f\x00\x12/\n\x07\x63hanges\x18\x02 \x03(\x0b\x32\x18.raftpb.ConfChangeSingleB\x04\xc8\xde\x1f\x00\x12\x0f\n\x07\x63ontext\x18\x03 \x01(\x0c*H\n\tEntryType\x12\x0f\n\x0b\x45ntryNormal\x10\x00\x12\x13\n\x0f\x45ntryConfChange\x10\x01\x12\x15\n\x11\x45ntryConfChangeV2\x10\x02*\xc6\x03\n\x0bMessageType\x12\n\n\x06MsgHup\x10\x00\x12\x0b\n\x07MsgBeat\x10\x01\x12\x0b\n\x07MsgProp\x10\x02\x12\n\n\x06MsgApp\x10\x03\x12\x0e\n\nMsgAppResp\x10\x04\x12\x0b\n\x07MsgVote\x10\x05\x12\x0f\n\x0bMsgVoteResp\x10\x06\x12\x0b\n\x07MsgSnap\x10\x07\x12\x10\n\x0cMsgHeartbeat\x10\x08\x12\x14\n\x10MsgHeartbeatResp\x10\t\x12\x12\n\x0eMsgUnreachable\x10\n\x12\x11\n\rMsgSnapStatus\x10\x0b\x12\x12\n\x0eMsgCheckQuorum\x10\x0c\x12\x15\n\x11MsgTransferLeader\x10\r\x12\x11\n\rMsgTimeoutNow\x10\x0e\x12\x10\n\x0cMsgReadIndex\x10\x0f\x12\x14\n\x10MsgReadIndexResp\x10\x10\x12\x0e\n\nMsgPreVote\x10\x11\x12\x12\n\x0eMsgPreVoteResp\x10\x12\x12\x14\n\x10MsgStorageAppend\x10\x13\x12\x18\n\x14MsgStorageAppendResp\x10\x14\x12\x13\n\x0fMsgStorageApply\x10\x15\x12\x17\n\x13MsgStorageApplyResp\x10\x16\x12\x13\n\x0fMsgForgetLeader\x10\x17*\x82\x01\n\x14\x43onfChangeTransition\x12\x1c\n\x18\x43onfChangeTransitionAuto\x10\x00\x12%\n!ConfChangeTransitionJointImplicit\x10\x01\x12%\n!ConfChangeTransitionJointExplicit\x10\x02*y\n\x0e\x43onfChangeType\x12\x15\n\x11\x43onfChangeAddNode\x10\x00\x12\x18\n\x14\x43onfChangeRemoveNode\x10\x01\x12\x18\n\x14\x43onfChangeUpdateNode\x10\x02\x12\x1c\n\x18\x43onfChangeAddLearnerNode\x10\x03\x42 \xc8\xe2\x1e\x01\xe0\xe2\x1e\x01\xd0\xe2\x1e\x01\xc8\xe1\x1e\x00\xd0\xe1\x1e\x00\xd8\xe3\x1e\x00\x90\xe3\x1e\x00\xd0\xe3\x1e\x00"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
+ end
31
+ end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
34
+ end
35
+
36
+ module Raftpb
37
+ Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("raftpb.Entry").msgclass
38
+ SnapshotMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("raftpb.SnapshotMetadata").msgclass
39
+ Snapshot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("raftpb.Snapshot").msgclass
40
+ Message = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("raftpb.Message").msgclass
41
+ HardState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("raftpb.HardState").msgclass
42
+ ConfState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("raftpb.ConfState").msgclass
43
+ ConfChange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("raftpb.ConfChange").msgclass
44
+ ConfChangeSingle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("raftpb.ConfChangeSingle").msgclass
45
+ ConfChangeV2 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("raftpb.ConfChangeV2").msgclass
46
+ EntryType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("raftpb.EntryType").enummodule
47
+ MessageType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("raftpb.MessageType").enummodule
48
+ ConfChangeTransition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("raftpb.ConfChangeTransition").enummodule
49
+ ConfChangeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("raftpb.ConfChangeType").enummodule
50
+ end
@@ -1,4 +1,4 @@
1
1
  # This file is generated by build-proto-gem. Do not edit.
2
2
  module Gitaly
3
- VERSION = '17.8.6'
3
+ VERSION = '17.9.3'
4
4
  end
data/ruby/proto/gitaly.rb CHANGED
@@ -9,6 +9,8 @@ require 'gitaly/blob_services_pb'
9
9
 
10
10
  require 'gitaly/cleanup_services_pb'
11
11
 
12
+ require 'gitaly/cluster_services_pb'
13
+
12
14
  require 'gitaly/commit_services_pb'
13
15
 
14
16
  require 'gitaly/conflicts_services_pb'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitaly
3
3
  version: !ruby/object:Gem::Version
4
- version: 17.8.6
4
+ version: 17.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab Engineering
@@ -41,6 +41,7 @@ files:
41
41
  - ruby/proto/gitaly/cleanup_pb.rb
42
42
  - ruby/proto/gitaly/cleanup_services_pb.rb
43
43
  - ruby/proto/gitaly/cluster_pb.rb
44
+ - ruby/proto/gitaly/cluster_services_pb.rb
44
45
  - ruby/proto/gitaly/commit_pb.rb
45
46
  - ruby/proto/gitaly/commit_services_pb.rb
46
47
  - ruby/proto/gitaly/conflicts_pb.rb
@@ -48,6 +49,7 @@ files:
48
49
  - ruby/proto/gitaly/diff_pb.rb
49
50
  - ruby/proto/gitaly/diff_services_pb.rb
50
51
  - ruby/proto/gitaly/errors_pb.rb
52
+ - ruby/proto/gitaly/gogoproto/gogo_pb.rb
51
53
  - ruby/proto/gitaly/hook_pb.rb
52
54
  - ruby/proto/gitaly/hook_services_pb.rb
53
55
  - ruby/proto/gitaly/internal_pb.rb
@@ -63,6 +65,7 @@ files:
63
65
  - ruby/proto/gitaly/partition_services_pb.rb
64
66
  - ruby/proto/gitaly/praefect_pb.rb
65
67
  - ruby/proto/gitaly/praefect_services_pb.rb
68
+ - ruby/proto/gitaly/raftpb/raft_pb.rb
66
69
  - ruby/proto/gitaly/ref_pb.rb
67
70
  - ruby/proto/gitaly/ref_services_pb.rb
68
71
  - ruby/proto/gitaly/remote_pb.rb