Sha256: 62ad34e1899c76197844e169d5807909021ad584b710fa6a1b21daf3bf0f10cf

Contents?: true

Size: 1.26 KB

Versions: 4

Compression:

Stored size: 1.26 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: praefect.proto for package 'gitaly'

require 'grpc'
require 'praefect_pb'

module Gitaly
  module PraefectInfoService
    class Service

      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'gitaly.PraefectInfoService'

      rpc :RepositoryReplicas, RepositoryReplicasRequest, RepositoryReplicasResponse
      # ConsistencyCheck will perform a consistency check on the requested
      # virtual storage backend. A stream of repository statuses will be sent
      # back indicating which repos are consistent with the primary and which ones
      # need repair.
      rpc :ConsistencyCheck, ConsistencyCheckRequest, stream(ConsistencyCheckResponse)
      # DatalossCheck checks for nodes which are not up to date with the previous writable primary.
      # This indicates possible data loss after a failover event.
      rpc :DatalossCheck, DatalossCheckRequest, DatalossCheckResponse
      # EnableWrites enables writes for a storage that was switched to a read-only mode
      # following a failover.
      rpc :EnableWrites, EnableWritesRequest, EnableWritesResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gitaly-13.3.0.pre.rc1 ruby/proto/gitaly/praefect_services_pb.rb
gitaly-13.2.0.pre.rc2 ruby/proto/gitaly/praefect_services_pb.rb
gitaly-13.2.0.pre.rc1 ruby/proto/gitaly/praefect_services_pb.rb
gitaly-13.1.0.pre.rc4 ruby/proto/gitaly/praefect_services_pb.rb