diff options
author | Paul Okstad <pokstad@gitlab.com> | 2020-05-12 08:24:48 +0300 |
---|---|---|
committer | Paul Okstad <pokstad@gitlab.com> | 2020-05-12 08:24:48 +0300 |
commit | b175b992598a475ba3802ccd031255a8d080ba83 (patch) | |
tree | 76b49cdf6caf9427b17f18aa892e302de30f3c72 /proto/praefect.proto | |
parent | 83d108e134c5d64396939376d403d65d8f079682 (diff) |
Reconciliation should report progress and warn user
Diffstat (limited to 'proto/praefect.proto')
-rw-r--r-- | proto/praefect.proto | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/proto/praefect.proto b/proto/praefect.proto index 3b5b3225f..df4677ada 100644 --- a/proto/praefect.proto +++ b/proto/praefect.proto @@ -77,6 +77,9 @@ message ConsistencyCheckRequest { // 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 { @@ -86,4 +89,6 @@ message ConsistencyCheckResponse { // 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; } |