This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new b95b37bf027  [enhance](Cloud) Add GCP enum for ObjectStoreInfoPB 
(#34100)
b95b37bf027 is described below

commit b95b37bf0279f2a116c8ec84c6830bcf6423ccf4
Author: AlexYue <[email protected]>
AuthorDate: Thu Apr 25 15:00:36 2024 +0800

     [enhance](Cloud) Add GCP enum for ObjectStoreInfoPB (#34100)
---
 fe/fe-core/src/main/java/org/apache/doris/cloud/storage/RemoteBase.java | 1 +
 gensrc/proto/cloud.proto                                                | 1 +
 2 files changed, 2 insertions(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/cloud/storage/RemoteBase.java 
b/fe/fe-core/src/main/java/org/apache/doris/cloud/storage/RemoteBase.java
index 7b12be88d74..e146e52f534 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/cloud/storage/RemoteBase.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/cloud/storage/RemoteBase.java
@@ -140,6 +140,7 @@ public abstract class RemoteBase {
         switch (obj.provider) {
             case OSS:
                 return new OssRemote(obj);
+            case GCP:
             case S3:
                 return new S3Remote(obj);
             case COS:
diff --git a/gensrc/proto/cloud.proto b/gensrc/proto/cloud.proto
index 0ed9b693988..f132e2eab4d 100644
--- a/gensrc/proto/cloud.proto
+++ b/gensrc/proto/cloud.proto
@@ -176,6 +176,7 @@ message ObjectStoreInfoPB {
         COS = 2;
         OBS = 3;
         BOS = 4;
+        GCP = 5;
     }
     optional int64 ctime = 1;
     optional int64 mtime = 2;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to