mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
Block memory tracking during catching exceptions in OwnSplitChannel
This commit is contained in:
parent
d5767da5fd
commit
b9c869871b
@ -45,6 +45,8 @@ void OwnSplitChannel::tryLogSplit(const Poco::Message & msg)
|
|||||||
}
|
}
|
||||||
catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
|
MemoryTracker::LockExceptionInThread lock_memory_tracker(VariableContext::Global);
|
||||||
|
|
||||||
/// It is better to catch the errors here in order to avoid
|
/// It is better to catch the errors here in order to avoid
|
||||||
/// breaking some functionality because of unexpected "File not
|
/// breaking some functionality because of unexpected "File not
|
||||||
/// found" (or similar) error.
|
/// found" (or similar) error.
|
||||||
|
Loading…
Reference in New Issue
Block a user