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


##########
src/cluster/cluster.cc:
##########
@@ -374,7 +373,7 @@ Status Cluster::ImportSlotRange(redis::Connection *conn, 
const SlotRange &slot_r
       conn->close_cb = [object_ptr = srv_->slot_import.get(), 
slot_range]([[maybe_unused]] int fd) {
         auto s = object_ptr->StopForLinkError();
         if (!s.IsOK()) {
-          LOG(ERROR) << fmt::format("[import] Failed to stop importing slot(s) 
{}: {}", slot_range.String(), s.Msg());
+          error("[import] Failed to stop importing slot(s) {}:{}", 
slot_range.String(), s.Msg());

Review Comment:
   ```suggestion
             error("[import] Failed to stop importing slot(s) {}: {}", 
slot_range.String(), 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