ruby/proto/gitaly/praefect_services_pb.rb in gitaly-13.3.0.pre.rc1 vs ruby/proto/gitaly/praefect_services_pb.rb in gitaly-13.3.0.pre.rc2
- old
+ new
@@ -21,12 +21,13 @@
# 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
+ # 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