mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Progress on task
This commit is contained in:
parent
d6bc4d2bd0
commit
b3f4fe12dd
@ -3987,7 +3987,7 @@ bool StorageReplicatedMergeTree::waitForReplicaToProcessLogEntry(const String &
|
||||
/// While looking for the record, it has already been executed and deleted.
|
||||
if (queue_entry_to_wait_for.empty())
|
||||
{
|
||||
LOG_DEBUG(log, "No corresponding node found. Assuming it has been already processed." " Found " << queue_entries.size() << " nodes.");
|
||||
LOG_DEBUG_FORMATTED(log, "No corresponding node found. Assuming it has been already processed. Found {} nodes", queue_entries.size());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <Compression/CompressedWriteBuffer.h>
|
||||
#include <DataStreams/NativeBlockOutputStream.h>
|
||||
#include <DataStreams/NativeBlockInputStream.h>
|
||||
#include <Common/formatReadable.h>
|
||||
#include <Common/escapeForFileName.h>
|
||||
#include <Common/StringUtils/StringUtils.h>
|
||||
#include <Interpreters/Set.h>
|
||||
@ -190,11 +191,8 @@ void StorageSetOrJoinBase::restoreFromFile(const String & file_path)
|
||||
backup_stream.readSuffix();
|
||||
|
||||
/// TODO Add speed, compressed bytes, data volume in memory, compression ratio ... Generalize all statistics logging in project.
|
||||
LOG_INFO(&Logger::get("StorageSetOrJoinBase"), std::fixed << std::setprecision(2)
|
||||
<< "Loaded from backup file " << file_path << ". "
|
||||
<< backup_stream.getProfileInfo().rows << " rows, "
|
||||
<< backup_stream.getProfileInfo().bytes / 1048576.0 << " MiB. "
|
||||
<< "State has " << getSize() << " unique rows.");
|
||||
LOG_INFO_FORMATTED(&Logger::get("StorageSetOrJoinBase"), "Loaded from backup file {}. {} rows, {}. State has {} unique rows.",
|
||||
file_path, backup_stream.getProfileInfo().rows, formatReadableSizeWithBinarySuffix(backup_stream.getProfileInfo().bytes), getSize());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user