PragmaTwice commented on code in PR #2894:
URL: https://github.com/apache/kvrocks/pull/2894#discussion_r2053231034


##########
src/cluster/cluster.cc:
##########
@@ -261,16 +261,15 @@ Status Cluster::SetMasterSlaveRepl() {
     std::shared_ptr<ClusterNode> master = it->second;
     auto s = srv_->AddMaster(master->host, master->port, false);
     if (!s.IsOK()) {
-      LOG(WARNING) << "SLAVE OF " << master->host << ":" << master->port
-                   << " wasn't enabled by cluster topology setting, encounter 
error: " << s.Msg();
+      warn("SLAVE OF {} : {} wasn't enabled by cluster topology setting, 
encounter error: {}", master->host, master->port, s.Msg());

Review Comment:
   ```suggestion
         warn("SLAVE OF {}:{} wasn't enabled by cluster topology setting, 
encounter error: {}", master->host, master->port, s.Msg());
   ```



-- 
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]

Reply via email to