diff options
Diffstat (limited to 'proto/praefect.proto')
-rw-r--r-- | proto/praefect.proto | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/proto/praefect.proto b/proto/praefect.proto index 71198a687..d89d2c3e0 100644 --- a/proto/praefect.proto +++ b/proto/praefect.proto @@ -11,11 +11,6 @@ service PraefectInfoService { option (intercepted) = true; rpc RepositoryReplicas(RepositoryReplicasRequest) returns (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) returns (stream ConsistencyCheckResponse); // DatalossCheck checks for unavailable repositories. rpc DatalossCheck(DatalossCheckRequest) returns (DatalossCheckResponse); @@ -110,30 +105,3 @@ message RepositoryReplicasResponse{ RepositoryDetails primary = 1; repeated RepositoryDetails replicas = 2; } - -message ConsistencyCheckRequest { - string virtual_storage = 1; - // The target storage is the storage you wish to check for inconsistencies - // against a reference storage (typically the current primary). - string target_storage = 2; - // Optionally provide a reference storage to compare the target storage - // against. If a reference storage is omitted, the current primary will be - // used. - string reference_storage = 3; - // Be default, reconcilliation is enabled. Disabling reconcilliation will - // make the request side-effect free. - bool disable_reconcilliation = 4; -} - -message ConsistencyCheckResponse { - string repo_relative_path = 1; - string target_checksum = 2; - string reference_checksum = 3; - // If resync was enabled, then each inconsistency will schedule a replication - // job. A replication ID is returned to track the corresponding job. - uint64 repl_job_id = 4; - // If the reference storage was not specified, reply with the reference used - string reference_storage = 5; - // The list of errors that appeared during the operation execution for the current repository. - repeated string errors = 6; -} |