PragmaTwice commented on code in PR #2894:
URL: https://github.com/apache/kvrocks/pull/2894#discussion_r2059518141
##########
src/cluster/cluster.cc:
##########
@@ -130,7 +130,7 @@ Status Cluster::SetSlotRanges(const std::vector<SlotRange>
&slot_ranges, const s
if (migrated_slots_.count(slot) > 0) {
auto s = srv_->slot_migrator->ClearKeysOfSlotRange(ctx,
kDefaultNamespace, SlotRange::GetPoint(slot));
if (!s.ok()) {
- LOG(ERROR) << "failed to clear data of migrated slot: " <<
s.ToString();
+ error("failed to clear data of migrated slot {} ", s.ToString());
Review Comment:
```suggestion
error("failed to clear data of migrated slot: {}", s.ToString());
```
--
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]