Skip to content

Commit

Permalink
remove duplicate logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Zatelepin committed Dec 28, 2018
1 parent 04ce505 commit 9c7265e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dbms/src/Storages/StorageReplicatedMergeTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -565,10 +565,7 @@ void StorageReplicatedMergeTree::checkParts(bool skip_sanity_checks)
}
}
else
{
LOG_ERROR(log, "Fetching missing part " << missing_name);
parts_to_fetch.push_back(missing_name);
}
}

for (const String & name : parts_to_fetch)
Expand Down Expand Up @@ -685,7 +682,7 @@ void StorageReplicatedMergeTree::checkParts(bool skip_sanity_checks)
for (size_t i = 0; i < parts_to_fetch.size(); ++i)
{
const String & part_name = parts_to_fetch[i];
LOG_ERROR(log, "Removing missing part from ZooKeeper and queueing a fetch: " << part_name);
LOG_ERROR(log, "Removing locally missing part from ZooKeeper and queueing a fetch: " << part_name);

Coordination::Requests ops;

Expand Down

0 comments on commit 9c7265e

Please sign in to comment.