未验证 提交 ff726296 编写于 作者: A alexey-milovidov 提交者: GitHub

Merge pull request #11354 from ClickHouse/get_rid_of_lock_during_send

Remove structure lock on parts send
......@@ -86,9 +86,6 @@ void Service::processQuery(const Poco::Net::HTMLForm & params, ReadBuffer & /*bo
try
{
auto storage_lock = data.lockStructureForShare(
false, RWLockImpl::NO_QUERY, data.getSettings()->lock_acquire_timeout_for_background_operations);
MergeTreeData::DataPartPtr part = findPart(part_name);
CurrentMetrics::Increment metric_increment{CurrentMetrics::ReplicatedSend};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册