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

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


The following commit(s) were added to refs/heads/master by this push:
     new 28fc6a94 add file
28fc6a94 is described below

commit 28fc6a945ec6c57d7b1b0f8659e146b4a17269e4
Author: cjcchen <[email protected]>
AuthorDate: Wed Dec 3 14:42:25 2025 +0000

    add file
---
 platform/config/resdb_config_utils.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/platform/config/resdb_config_utils.cpp 
b/platform/config/resdb_config_utils.cpp
index 853c3ed4..b4f4c4af 100644
--- a/platform/config/resdb_config_utils.cpp
+++ b/platform/config/resdb_config_utils.cpp
@@ -129,10 +129,10 @@ std::vector<ReplicaInfo> ReadConfig(const std::string& 
file_name) {
   std::string ip;
   int port;
   while (infile >> id >> ip >> port) {
-    if(id == "//") {
+    if(id == 0) {
       continue;
     }
-    if(id.size()==0) {
+    if(ip.size()==0) {
       continue;
     }
     replicas.push_back(GenerateReplicaInfo(id, ip, port));

Reply via email to