Fix comments

This commit is contained in:
alesapin 2020-04-20 13:56:23 +03:00
parent 8767ea7efa
commit 1bc84ec8b4
2 changed files with 1 additions and 2 deletions

View File

@ -989,7 +989,7 @@ bool StorageReplicatedMergeTree::tryExecuteMerge(const LogEntry & entry)
if (storage_settings_ptr->always_fetch_merged_part)
{
LOG_INFO(log, "Will fetch part " << entry.new_part_name << " because setting always_fetch_merged_part is set to 1");
LOG_INFO(log, "Will fetch part " << entry.new_part_name << " because setting 'always_fetch_merged_part' is true");
return false;
}

View File

@ -57,7 +57,6 @@ def test_replica_always_download(started_cluster):
time.sleep(3)
# all merged
node1_parts = node1.query("SELECT COUNT() FROM system.parts WHERE table = 'test_table' and active=1").strip()
node2_parts = node2.query("SELECT COUNT() FROM system.parts WHERE table = 'test_table' and active=1").strip()
assert node1_parts < '10' # something merged