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

laiyingchun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git


The following commit(s) were added to refs/heads/master by this push:
     new 4683a78a3 fix(duplication): fix the table name while checking if the 
table of the remote cluster has been created completely (#2026)
4683a78a3 is described below

commit 4683a78a3be8a4fc7f1a155c91d0ed210eeb387d
Author: Dan Wang <[email protected]>
AuthorDate: Tue May 28 10:39:17 2024 +0800

    fix(duplication): fix the table name while checking if the table of the 
remote cluster has been created completely (#2026)
    
    Resolve https://github.com/apache/incubator-pegasus/issues/2025.
---
 src/meta/duplication/meta_duplication_service.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/meta/duplication/meta_duplication_service.cpp 
b/src/meta/duplication/meta_duplication_service.cpp
index c8a0d888e..500a9987b 100644
--- a/src/meta/duplication/meta_duplication_service.cpp
+++ b/src/meta/duplication/meta_duplication_service.cpp
@@ -533,7 +533,7 @@ void 
meta_duplication_service::check_follower_app_if_create_completed(
     meta_servers.group_host_port()->add_list(dup->remote_cluster_metas);
 
     query_cfg_request meta_config_request;
-    meta_config_request.app_name = dup->app_name;
+    meta_config_request.app_name = dup->remote_app_name;
 
     dsn::message_ex *msg = 
dsn::message_ex::create_request(RPC_CM_QUERY_PARTITION_CONFIG_BY_INDEX);
     dsn::marshall(msg, meta_config_request);
@@ -604,7 +604,7 @@ void 
meta_duplication_service::check_follower_app_if_create_completed(
                           "query follower app[{}.{}] replica configuration 
completed, result: "
                           "duplication_status = {}, query_err = {}, update_err 
= {}",
                           dup->remote_cluster_name,
-                          dup->app_name,
+                          dup->remote_app_name,
                           duplication_status_to_string(dup->status()),
                           query_err,
                           update_err);


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

Reply via email to