ruby/proto/gitaly/praefect_services_pb.rb in gitaly-12.9.0.pre.rc4 vs ruby/proto/gitaly/praefect_services_pb.rb in gitaly-12.10.0
- old
+ new
@@ -13,9 +13,18 @@
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 returns the count of dead replica jobs created within a given
+ # timeframe. Dead replica jobs can indicate data loss and can be helpful in debugging
+ # impact of a primary node failure.
+ rpc :DatalossCheck, DatalossCheckRequest, DatalossCheckResponse
end
Stub = Service.rpc_stub_class
end
end