# 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 # SetAuthoritativeStorage sets the authoritative storage for a repository on a given virtual storage. # This causes the current version of the repository on the authoritative storage to be considered the # latest and overwrite any other version on the virtual storage. rpc :SetAuthoritativeStorage, SetAuthoritativeStorageRequest, SetAuthoritativeStorageResponse end Stub = Service.rpc_stub_class end end