mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Merge pull request #7032 from azat-archive/distributed-directory-monitor-SIGSEGV
Avoid SIGSEGV on batch send failure (file with index XX is absent)
This commit is contained in:
commit
5970aafd9a
@ -392,7 +392,8 @@ struct StorageDistributedDirectoryMonitor::Batch
|
||||
remote->writePrepared(in);
|
||||
}
|
||||
|
||||
remote->writeSuffix();
|
||||
if (remote)
|
||||
remote->writeSuffix();
|
||||
}
|
||||
catch (const Exception & e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user