mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fix build
This commit is contained in:
parent
5beabe071c
commit
6a681e074f
@ -143,7 +143,7 @@ struct ContextSharedPart : boost::noncopyable
|
||||
|
||||
mutable ThrottlerPtr local_read_throttler; /// A server-wide throttler for local IO reads
|
||||
mutable ThrottlerPtr local_write_throttler; /// A server-wide throttler for local IO writes
|
||||
///
|
||||
|
||||
mutable std::mutex keeper_dispatcher_mutex;
|
||||
mutable std::shared_ptr<KeeperDispatcher> keeper_dispatcher TSA_GUARDED_BY(keeper_dispatcher_mutex);
|
||||
|
||||
|
@ -435,6 +435,7 @@ struct ContextSharedPart : boost::noncopyable
|
||||
|
||||
~ContextSharedPart()
|
||||
{
|
||||
#if USE_NURAFT
|
||||
if (keeper_dispatcher)
|
||||
{
|
||||
try
|
||||
@ -446,6 +447,7 @@ struct ContextSharedPart : boost::noncopyable
|
||||
tryLogCurrentException(__PRETTY_FUNCTION__);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/// Wait for thread pool for background reads and writes,
|
||||
/// since it may use per-user MemoryTracker which will be destroyed here.
|
||||
|
Loading…
Reference in New Issue
Block a user