add the missing part of the comment

This commit is contained in:
Alexey Zatelepin 2019-03-11 22:05:59 +03:00
parent 0a5adace7b
commit b9c4908edb
3 changed files with 4 additions and 3 deletions

2
contrib/cppkafka vendored

@ -1 +1 @@
Subproject commit 9b184d881c15cc50784b28688c7c99d3d764db24
Subproject commit 860c90e92eee6690aa74a2ca7b7c5c6930dffecd

2
contrib/librdkafka vendored

@ -1 +1 @@
Subproject commit 51ae5f5fd8b742e56f47a8bb0136344868818285
Subproject commit 363dcad5a23dc29381cc626620e68ae418b3af19

View File

@ -347,7 +347,8 @@ private:
mutable RWLock alter_intention_lock = RWLockImpl::create();
/// It is taken for share for the entire INSERT query and the entire merge of the parts (for MergeTree).
/// ALTER queries acquire an exclusive lock to ensure
/// ALTER COLUMN queries acquire an exclusive lock to ensure that no new parts with the old structure
/// are added to the table and thus the set of parts to modify doesn't change.
mutable RWLock new_data_structure_lock = RWLockImpl::create();
/// Lock for the table column structure (names, types, etc.) and data path.