diff options
author | Sami Hiltunen <shiltunen@gitlab.com> | 2020-07-28 11:57:02 +0300 |
---|---|---|
committer | Sami Hiltunen <shiltunen@gitlab.com> | 2020-07-30 18:06:59 +0300 |
commit | f88be97da354972a6609be3cfb4563941f958947 (patch) | |
tree | 16f8a96a31e2c581cb301935612453bf62b8b9e5 /proto/praefect.proto | |
parent | db7767ad3febe68c4f376886d62a05bba5200f83 (diff) |
remove virtual storage wide read-only mode
With the introduction of per repository read-only mode, this commit
removes the previous virtual storage wide read-only mode
implementation.
Diffstat (limited to 'proto/praefect.proto')
-rw-r--r-- | proto/praefect.proto | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/proto/praefect.proto b/proto/praefect.proto index 1e2f4ef45..aaad1570f 100644 --- a/proto/praefect.proto +++ b/proto/praefect.proto @@ -34,15 +34,6 @@ service PraefectInfoService { }; } - // EnableWrites enables writes for a storage that was switched to a read-only mode - // following a failover. - rpc EnableWrites(EnableWritesRequest) returns (EnableWritesResponse) { - option (op_type) = { - op: MUTATOR - scope_level: STORAGE - }; - } - // 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. @@ -62,13 +53,6 @@ message SetAuthoritativeStorageRequest { message SetAuthoritativeStorageResponse {} -message EnableWritesRequest { - // virtual_storage is the name of the virtual storage to enable writes for. - string virtual_storage = 1 [(storage)=true]; -} - -message EnableWritesResponse {} - message DatalossCheckRequest { string virtual_storage = 1 [(storage)=true]; } |