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

w41ter pushed a commit to branch pick_52041_to_origin_branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 1ceab0c57ce97d5e294ba792409ec672661cc36a
Author: w41ter <[email protected]>
AuthorDate: Fri Jun 27 03:59:18 2025 +0000

    fixup
---
 cloud/src/meta-service/meta_service_job.cpp      |  2 +-
 cloud/src/meta-service/meta_service_snapshot.cpp | 64 ++++++++++++++++++++++++
 2 files changed, 65 insertions(+), 1 deletion(-)

diff --git a/cloud/src/meta-service/meta_service_job.cpp 
b/cloud/src/meta-service/meta_service_job.cpp
index ffbe11a7199..e356c198670 100644
--- a/cloud/src/meta-service/meta_service_job.cpp
+++ b/cloud/src/meta-service/meta_service_job.cpp
@@ -1467,7 +1467,7 @@ void 
MetaServiceImpl::finish_tablet_job(::google::protobuf::RpcController* contr
             msg = ss.str();
             return;
         }
-    }
+    };
 
     // Process compaction commit
     if (!request->job().compaction().empty()) {
diff --git a/cloud/src/meta-service/meta_service_snapshot.cpp 
b/cloud/src/meta-service/meta_service_snapshot.cpp
new file mode 100644
index 00000000000..6211fba1958
--- /dev/null
+++ b/cloud/src/meta-service/meta_service_snapshot.cpp
@@ -0,0 +1,64 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+#include <gen_cpp/cloud.pb.h>
+
+#include "meta-service/meta_service.h"
+
+namespace doris::cloud {
+
+void MetaServiceImpl::begin_snapshot(::google::protobuf::RpcController* 
controller,
+                                     const BeginSnapshotRequest* request,
+                                     BeginSnapshotResponse* response,
+                                     ::google::protobuf::Closure* done) {
+    brpc::ClosureGuard done_guard(done);
+    controller->SetFailed("Method begin_snapshot() not implemented.");
+}
+
+void MetaServiceImpl::commit_snapshot(::google::protobuf::RpcController* 
controller,
+                                      const CommitSnapshotRequest* request,
+                                      CommitSnapshotResponse* response,
+                                      ::google::protobuf::Closure* done) {
+    brpc::ClosureGuard done_guard(done);
+    controller->SetFailed("Method commit_snapshot() not implemented.");
+}
+
+void MetaServiceImpl::abort_snapshot(::google::protobuf::RpcController* 
controller,
+                                     const AbortSnapshotRequest* request,
+                                     AbortSnapshotResponse* response,
+                                     ::google::protobuf::Closure* done) {
+    brpc::ClosureGuard done_guard(done);
+    controller->SetFailed("Method abort_snapshot() not implemented.");
+}
+
+void MetaServiceImpl::list_snapshot(::google::protobuf::RpcController* 
controller,
+                                    const ListSnapshotRequest* request,
+                                    ListSnapshotResponse* response,
+                                    ::google::protobuf::Closure* done) {
+    brpc::ClosureGuard done_guard(done);
+    controller->SetFailed("Method list_snapshot() not implemented.");
+}
+
+void MetaServiceImpl::clone_instance(::google::protobuf::RpcController* 
controller,
+                                     const CloneInstanceRequest* request,
+                                     CloneInstanceResponse* response,
+                                     ::google::protobuf::Closure* done) {
+    brpc::ClosureGuard done_guard(done);
+    controller->SetFailed("Method clone_instance() not implemented.");
+}
+
+} // namespace doris::cloud


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

Reply via email to