Add log message for batch restore

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
Azat Khuzhin 2023-01-21 10:29:59 +01:00
parent 13a3e03f19
commit 0c19a75a1c

View File

@ -1092,6 +1092,8 @@ void StorageDistributedDirectoryMonitor::processFilesWithBatching()
/// Possibly, we failed to send a batch on the previous iteration. Try to send exactly the same batch.
if (fs::exists(current_batch_file_path))
{
LOG_DEBUG(log, "Restoring the batch");
Batch batch(*this);
batch.deserialize();
batch.send();