Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Cai <jcai@gitlab.com>2019-10-11 02:01:47 +0300
committerJohn Cai <jcai@gitlab.com>2019-10-11 19:49:12 +0300
commitdd0e245cc2b4565a6ae118af87ff5a73352f8601 (patch)
tree8d2519938504be04242f91bfd57ac46944f47f5c /proto/shared.proto
parent9924772fc6c40102c5a4d5f87484aa9768e2f87f (diff)
Enable additional repository to have its storage re-written
Diffstat (limited to 'proto/shared.proto')
-rw-r--r--proto/shared.proto7
1 files changed, 4 insertions, 3 deletions
diff --git a/proto/shared.proto b/proto/shared.proto
index b4c3dbac4..439f1b906 100644
--- a/proto/shared.proto
+++ b/proto/shared.proto
@@ -15,19 +15,19 @@ message OperationMsg {
}
Operation op = 1;
-
+
enum Scope {
REPOSITORY = 0;
SERVER = 1;
STORAGE = 2;
}
-
+
// Scope level indicates what level an RPC interacts with a server:
// - REPOSITORY: scoped to only a single repo
// - SERVER: affects the entire server and potentially all repos
// - STORAGE: scoped to a specific storage location and all repos within
Scope scope_level = 2;
-
+
// If this operation modifies a repository, this field will
// specify the location of the Repository field within the
// request message. The field is specified in an OID style
@@ -42,6 +42,7 @@ message OperationMsg {
// For example, the following OID refers to a target repo field
// nested in a one-of field, both at field one: "1.1"
string target_repository_field = 3;
+ string additional_repository_field = 4;
}
enum ObjectType {