ruby/proto/gitaly/praefect_services_pb.rb in gitaly-16.3.9 vs ruby/proto/gitaly/praefect_services_pb.rb in gitaly-16.4.0.pre.rc42
- old
+ new
@@ -16,11 +16,17 @@
self.unmarshal_class_method = :decode
self.service_name = 'gitaly.PraefectInfoService'
# This comment is left unintentionally blank.
rpc :RepositoryReplicas, ::Gitaly::RepositoryReplicasRequest, ::Gitaly::RepositoryReplicasResponse
- # DatalossCheck checks for unavailable repositories.
+ # DatalossCheck provides information on repositories in Praefect that are in a degraded state and
+ # thus susceptible to dataloss. A repository is considered degraded when its replicas are
+ # outdated and/or unavailable.
rpc :DatalossCheck, ::Gitaly::DatalossCheckRequest, ::Gitaly::DatalossCheckResponse
+ # Dataloss provides information on repositories in Praefect that are in a degraded state and
+ # thus susceptible to dataloss. A repository is considered degraded when its replicas are
+ # outdated and/or unavailable.
+ rpc :Dataloss, ::Gitaly::DatalossRequest, stream(::Gitaly::DatalossResponse)
# 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, ::Gitaly::SetAuthoritativeStorageRequest, ::Gitaly::SetAuthoritativeStorageResponse
# MarkUnverified marks replicas as unverified. This will trigger verification as Praefect's metadata