gavinchou commented on code in PR #31620:
URL: https://github.com/apache/doris/pull/31620#discussion_r1507456814


##########
cloud/src/meta-service/meta_server.cpp:
##########
@@ -75,7 +75,11 @@ int MetaServer::start(brpc::Server* server) {
     // Add service
     auto meta_service = std::make_unique<MetaServiceImpl>(txn_kv_, rc_mgr, 
rate_limiter);
     auto meta_service_proxy = new MetaServiceProxy(std::move(meta_service));
-    server->AddService(meta_service_proxy, brpc::SERVER_OWNS_SERVICE);
+
+    brpc::ServiceOptions options;
+    options.ownership = brpc::SERVER_OWNS_SERVICE;
+    options.secondary_package_name = "selectdb";  // the package name of 
selectdb cloud.

Review Comment:
   make it an config option



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to