mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
Clarify setNumFilesAndSize() method
This commit is contained in:
parent
6dd926b68b
commit
55f6f78078
@ -945,6 +945,7 @@ void BackupsWorker::setNumFilesAndSize(const OperationID & id, size_t num_files,
|
|||||||
UInt64 uncompressed_size, UInt64 compressed_size, size_t num_read_files, UInt64 num_read_bytes)
|
UInt64 uncompressed_size, UInt64 compressed_size, size_t num_read_files, UInt64 num_read_bytes)
|
||||||
|
|
||||||
{
|
{
|
||||||
|
/// Current operation's info entry is updated here. The backup_log table is updated on its basis within a subsequent setStatus() call.
|
||||||
std::lock_guard lock{infos_mutex};
|
std::lock_guard lock{infos_mutex};
|
||||||
auto it = infos.find(id);
|
auto it = infos.find(id);
|
||||||
if (it == infos.end())
|
if (it == infos.end())
|
||||||
|
Loading…
Reference in New Issue
Block a user