gitaly 13.0.0.pre.rc1 → 13.1.0.pre.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of gitaly might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3656d246004324321031cb85e30dd1dfac08dd60af035f93b0451f3a6f7e33f
4
- data.tar.gz: c245a59a161b05394e3cb9b14b8ae37f1d3c5968e28ebfe6b2c156f375c15336
3
+ metadata.gz: 4b097f84ed0013e98f6b2589ddee5c12769fef0539434f987274dbb9c234f2e5
4
+ data.tar.gz: 758ce27826719a7a1280fce8de4764c22b45dd36417ee0fd4c39a2f13dce7378
5
5
  SHA512:
6
- metadata.gz: 7295cad452656540ec395e0172e84b8bd48e337a7b7ccce7c7a4c5947b4425ec1cc1f165cf1ed3777e8e620d257be59a1490ab4aa1d2596c716686fd272fd86e
7
- data.tar.gz: 9568e960296dfcae984487b08286fe2602b640a2d53567b57cd2c95a3471c6c088dc55e704ed00417bf25085fa8152685fe4bb333649cfdf7895d0ed07fbb406
6
+ metadata.gz: 7d35ba03bfd3c510c864f99d3efee72087faf1d0bdba4ebc338a12a5b487b468b619caebaee4e8293167d20ebd8bf887c72950a538884520db66bd6917903252
7
+ data.tar.gz: '0806af48ca35721b2180ea96ec241c17f129ca75d9c572ce8261becc7d35f8d91572ee0bccb7d0a0cbccecc4767df46b671c83dc7e0ff0d9f6f5f3740f9193dc'
@@ -2,4 +2,4 @@
2
2
 
3
3
  We are moving gitaly-proto inside the Gitaly repository. These stubs are not yet in use. Please use the `gitaly-proto` gem from Rubygems instead of this.
4
4
 
5
- https://gitlab.com/gitlab-org/gitaly/issues/1761
5
+ https://gitlab.com/gitlab-org/gitaly/issues/1761
@@ -4,7 +4,6 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'lint_pb'
7
- require 'shared_pb'
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
8
  add_message "gitaly.WalkReposRequest" do
10
9
  optional :storage_name, :string, 1
@@ -4,7 +4,6 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'lint_pb'
7
- require 'shared_pb'
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
8
  add_message "gitaly.AddNamespaceRequest" do
10
9
  optional :storage_name, :string, 1
@@ -7,6 +7,11 @@ require 'lint_pb'
7
7
  require 'shared_pb'
8
8
  require 'google/protobuf/timestamp_pb'
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_message "gitaly.EnableWritesRequest" do
11
+ optional :virtual_storage, :string, 1
12
+ end
13
+ add_message "gitaly.EnableWritesResponse" do
14
+ end
10
15
  add_message "gitaly.DatalossCheckRequest" do
11
16
  optional :from, :message, 1, "google.protobuf.Timestamp"
12
17
  optional :to, :message, 2, "google.protobuf.Timestamp"
@@ -29,16 +34,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
29
34
  optional :virtual_storage, :string, 1
30
35
  optional :target_storage, :string, 2
31
36
  optional :reference_storage, :string, 3
37
+ optional :disable_reconcilliation, :bool, 4
32
38
  end
33
39
  add_message "gitaly.ConsistencyCheckResponse" do
34
40
  optional :repo_relative_path, :string, 1
35
41
  optional :target_checksum, :string, 2
36
42
  optional :reference_checksum, :string, 3
37
43
  optional :repl_job_id, :uint64, 4
44
+ optional :reference_storage, :string, 5
38
45
  end
39
46
  end
40
47
 
41
48
  module Gitaly
49
+ EnableWritesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.EnableWritesRequest").msgclass
50
+ EnableWritesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.EnableWritesResponse").msgclass
42
51
  DatalossCheckRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DatalossCheckRequest").msgclass
43
52
  DatalossCheckResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DatalossCheckResponse").msgclass
44
53
  RepositoryReplicasRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryReplicasRequest").msgclass
@@ -24,6 +24,9 @@ module Gitaly
24
24
  # timeframe. Dead replica jobs can indicate data loss and can be helpful in debugging
25
25
  # impact of a primary node failure.
26
26
  rpc :DatalossCheck, DatalossCheckRequest, DatalossCheckResponse
27
+ # EnableWrites enables writes for a storage that was switched to a read-only mode
28
+ # following a failover.
29
+ rpc :EnableWrites, EnableWritesRequest, EnableWritesResponse
27
30
  end
28
31
 
29
32
  Stub = Service.rpc_stub_class
@@ -316,6 +316,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
316
316
  end
317
317
  add_message "gitaly.ReplicateRepositoryResponse" do
318
318
  end
319
+ add_message "gitaly.OptimizeRepositoryRequest" do
320
+ optional :repository, :message, 1, "gitaly.Repository"
321
+ end
322
+ add_message "gitaly.OptimizeRepositoryResponse" do
323
+ end
319
324
  end
320
325
 
321
326
  module Gitaly
@@ -404,4 +409,6 @@ module Gitaly
404
409
  RenameRepositoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameRepositoryResponse").msgclass
405
410
  ReplicateRepositoryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReplicateRepositoryRequest").msgclass
406
411
  ReplicateRepositoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReplicateRepositoryResponse").msgclass
412
+ OptimizeRepositoryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OptimizeRepositoryRequest").msgclass
413
+ OptimizeRepositoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OptimizeRepositoryResponse").msgclass
407
414
  end
@@ -54,6 +54,7 @@ module Gitaly
54
54
  rpc :RemoveRepository, RemoveRepositoryRequest, RemoveRepositoryResponse
55
55
  rpc :RenameRepository, RenameRepositoryRequest, RenameRepositoryResponse
56
56
  rpc :ReplicateRepository, ReplicateRepositoryRequest, ReplicateRepositoryResponse
57
+ rpc :OptimizeRepository, OptimizeRepositoryRequest, OptimizeRepositoryResponse
57
58
  end
58
59
 
59
60
  Stub = Service.rpc_stub_class
@@ -4,7 +4,6 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'lint_pb'
7
- require 'shared_pb'
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
8
  add_message "gitaly.ServerInfoRequest" do
10
9
  end
@@ -19,6 +18,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
19
18
  optional :writeable, :bool, 3
20
19
  optional :fs_type, :string, 4
21
20
  optional :filesystem_id, :string, 5
21
+ optional :replication_factor, :uint32, 6
22
22
  end
23
23
  add_message "gitaly.DiskStatisticsRequest" do
24
24
  end
@@ -6,40 +6,23 @@ require 'google/protobuf'
6
6
  require 'lint_pb'
7
7
  require 'shared_pb'
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_message "gitaly.RegisterTransactionRequest" do
10
- optional :repository, :message, 1, "gitaly.Repository"
11
- repeated :nodes, :string, 2
12
- end
13
- add_message "gitaly.RegisterTransactionResponse" do
14
- optional :transaction_id, :uint64, 1
15
- end
16
- add_message "gitaly.StartTransactionRequest" do
9
+ add_message "gitaly.VoteTransactionRequest" do
17
10
  optional :repository, :message, 1, "gitaly.Repository"
18
11
  optional :transaction_id, :uint64, 2
19
12
  optional :node, :string, 3
20
13
  optional :reference_updates_hash, :bytes, 4
21
14
  end
22
- add_message "gitaly.StartTransactionResponse" do
23
- optional :state, :enum, 1, "gitaly.StartTransactionResponse.TransactionState"
15
+ add_message "gitaly.VoteTransactionResponse" do
16
+ optional :state, :enum, 1, "gitaly.VoteTransactionResponse.TransactionState"
24
17
  end
25
- add_enum "gitaly.StartTransactionResponse.TransactionState" do
18
+ add_enum "gitaly.VoteTransactionResponse.TransactionState" do
26
19
  value :COMMIT, 0
27
20
  value :ABORT, 1
28
21
  end
29
- add_message "gitaly.CancelTransactionRequest" do
30
- optional :repository, :message, 1, "gitaly.Repository"
31
- optional :transaction_id, :uint64, 2
32
- end
33
- add_message "gitaly.CancelTransactionResponse" do
34
- end
35
22
  end
36
23
 
37
24
  module Gitaly
38
- RegisterTransactionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RegisterTransactionRequest").msgclass
39
- RegisterTransactionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RegisterTransactionResponse").msgclass
40
- StartTransactionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.StartTransactionRequest").msgclass
41
- StartTransactionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.StartTransactionResponse").msgclass
42
- StartTransactionResponse::TransactionState = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.StartTransactionResponse.TransactionState").enummodule
43
- CancelTransactionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CancelTransactionRequest").msgclass
44
- CancelTransactionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CancelTransactionResponse").msgclass
25
+ VoteTransactionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionRequest").msgclass
26
+ VoteTransactionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionResponse").msgclass
27
+ VoteTransactionResponse::TransactionState = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.VoteTransactionResponse.TransactionState").enummodule
45
28
  end
@@ -14,9 +14,7 @@ module Gitaly
14
14
  self.unmarshal_class_method = :decode
15
15
  self.service_name = 'gitaly.RefTransaction'
16
16
 
17
- rpc :RegisterTransaction, RegisterTransactionRequest, RegisterTransactionResponse
18
- rpc :StartTransaction, StartTransactionRequest, StartTransactionResponse
19
- rpc :CancelTransaction, CancelTransactionRequest, CancelTransactionResponse
17
+ rpc :VoteTransaction, VoteTransactionRequest, VoteTransactionResponse
20
18
  end
21
19
 
22
20
  Stub = Service.rpc_stub_class
@@ -1,5 +1,5 @@
1
1
  # This file was auto-generated by release-tools
2
2
  # https://gitlab.com/gitlab-org/release-tools/-/blob/master/lib/release_tools/release/gitaly_release.rb
3
3
  module Gitaly
4
- VERSION = '13.0.0-rc1'
4
+ VERSION = '13.1.0-rc1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitaly
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.0.0.pre.rc1
4
+ version: 13.1.0.pre.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Vosmaer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-27 00:00:00.000000000 Z
11
+ date: 2020-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: 1.3.1
95
95
  requirements: []
96
- rubygems_version: 3.0.6
96
+ rubygems_version: 3.0.3
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: Auto-generated gRPC client for gitaly