aboutsummaryrefslogtreecommitdiff
path: root/weed/pb/volume_server.proto
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-26 15:18:34 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-26 15:18:34 -0700
commit05a648bb96df1be5a9261737d8f6fd01600c6a63 (patch)
tree751a04da5a01ca0dd9233447b1789708bf8cba17 /weed/pb/volume_server.proto
parentc08ac536ed83ef2159a13ce826a249223272818f (diff)
downloadseaweedfs-05a648bb96df1be5a9261737d8f6fd01600c6a63.tar.xz
seaweedfs-05a648bb96df1be5a9261737d8f6fd01600c6a63.zip
refactor: separating out remote.proto
Diffstat (limited to 'weed/pb/volume_server.proto')
-rw-r--r--weed/pb/volume_server.proto12
1 files changed, 4 insertions, 8 deletions
diff --git a/weed/pb/volume_server.proto b/weed/pb/volume_server.proto
index c255be488..87c162bf0 100644
--- a/weed/pb/volume_server.proto
+++ b/weed/pb/volume_server.proto
@@ -3,6 +3,8 @@ syntax = "proto3";
package volume_server_pb;
option go_package = "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb";
+import "remote.proto";
+
//////////////////////////////////////////////////
service VolumeServer {
@@ -473,14 +475,8 @@ message FetchAndWriteNeedleRequest {
int64 offset = 4;
int64 size = 5;
// remote conf
- string remote_type = 6;
- string remote_name = 7;
- string s3_access_key = 8;
- string s3_secret_key = 9;
- string s3_region = 10;
- string s3_endpoint = 11;
- string remote_bucket = 12;
- string remote_path = 13;
+ remote_pb.RemoteConf remote_conf = 15;
+ remote_pb.RemoteStorageLocation remote_location = 16;
}
message FetchAndWriteNeedleResponse {
}