mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Merge pull request #10138 from ClickHouse/fix-logged-number-of-inserted-rows
Fix logged number of inserted rows into ReplicatedMergeTree
This commit is contained in:
commit
fef889c0ba
@ -147,11 +147,11 @@ void ReplicatedMergeTreeBlockOutputStream::write(const Block & block)
|
|||||||
/// That is, do not insert the same data to the same partition twice.
|
/// That is, do not insert the same data to the same partition twice.
|
||||||
block_id = part->info.partition_id + "_" + toString(hash_value.words[0]) + "_" + toString(hash_value.words[1]);
|
block_id = part->info.partition_id + "_" + toString(hash_value.words[0]) + "_" + toString(hash_value.words[1]);
|
||||||
|
|
||||||
LOG_DEBUG(log, "Wrote block with ID '" << block_id << "', " << block.rows() << " rows");
|
LOG_DEBUG(log, "Wrote block with ID '" << block_id << "', " << current_block.block.rows() << " rows");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOG_DEBUG(log, "Wrote block with " << block.rows() << " rows");
|
LOG_DEBUG(log, "Wrote block with " << current_block.block.rows() << " rows");
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
|
Loading…
Reference in New Issue
Block a user