Nikita Mikhaylov
33877b5e00
Parallel replicas. Part [2] ( #43772 )
2023-02-03 14:34:18 +01:00
Alexey Milovidov
3e3df376c0
Merge pull request #45995 from CurtizJ/check-dynamic-columns
...
Check dynamic columns of part before its commit
2023-02-03 15:39:54 +03:00
Frank Chen
7af5ae7f2e
Merge branch 'master' into better_postpone_reason
2023-02-03 11:20:37 +08:00
Anton Popov
8ca602a148
check dynamic columns of part before its commit
2023-02-03 02:58:28 +00:00
Alexander Gololobov
ec3bb0c04e
Merge pull request #45794 from ClickHouse/parallelize_is_storage_touched_by_mutations
...
Do not restrict count() query to 1 thread in isStorageTouchedByMutations()
2023-02-02 16:44:11 +01:00
Sema Checherinda
3e1b17e4cf
fix build
2023-02-01 17:09:43 +01:00
Sema Checherinda
41a1dddc7a
Merge branch 'master' into better_postpone_reason
2023-02-01 15:16:34 +01:00
Anton Popov
1c4174750d
fix mistake after refactoring
2023-01-31 15:48:14 +00:00
Alexander Tokmakov
51b0f66e6b
Merge pull request #45793 from ClickHouse/fix_part_check_cancellation
...
Fix race condition on a part check cancellation
2023-01-31 14:15:17 +03:00
Alexander Gololobov
4eea3de654
Do not restrict count() query to 1 thread in isStorageTouchedByMutations()
2023-01-30 22:29:28 +01:00
Alexander Tokmakov
e42cd3163f
fix race condition on a part check cancellation
2023-01-30 18:48:20 +01:00
alesapin
be58d5d1af
Fix bug in tables drop which can lead to potential query hung
2023-01-30 17:00:28 +01:00
Alexey Milovidov
49a59ff9bd
Fix bad comment
2023-01-29 03:57:59 +01:00
Nikolai Kochetov
313947e0b0
Merge branch 'master' into issue_45590
2023-01-27 15:08:28 +01:00
Anton Popov
f10e82355e
Merge pull request #45630 from CurtizJ/fix-performance-columns-description
...
Fix performance of short queries with `Array` columns
2023-01-27 14:59:55 +01:00
Nikolai Kochetov
f6ad6296ba
Restore.
2023-01-27 12:45:41 +00:00
Alexander Tokmakov
1494262a38
Update DataPartStorageOnDiskFull.cpp
2023-01-27 15:42:41 +03:00
Nikolai Kochetov
b716e2d754
A bit cleaner fix.
2023-01-27 12:37:23 +00:00
alesapin
716d25c33f
Merge pull request #45619 from CurtizJ/refactoring-merge-tree-parts
...
Refactoring of code near merge tree parts
2023-01-27 13:36:33 +01:00
Amos Bird
716516f84a
Fix test
2023-01-27 16:58:41 +08:00
Amos Bird
fd60954081
Fix key description on duplicate primary keys
...
This can happen in projections. See
https://github.com/ClickHouse/ClickHouse/issues/45590 for details.
2023-01-27 13:01:36 +08:00
Alexander Tokmakov
061026c307
fix
2023-01-26 19:01:29 +01:00
Alexander Tokmakov
067b1f5f13
Merge branch 'master' into exception_message_patterns4
2023-01-26 15:20:58 +01:00
Alexander Tokmakov
f676e9eaff
Merge pull request #45613 from azat/replicated-improve-log
...
Improve "at least part X is missing" error message
2023-01-26 16:48:18 +03:00
Anton Popov
87af86e9a3
fix projections
2023-01-26 13:11:31 +00:00
Alexander Tokmakov
14db798191
fix
2023-01-26 13:56:16 +01:00
Anton Popov
b52cf17fa6
Merge pull request #45612 from ClickHouse/CurtizJ-patch-7
...
Remove useless code
2023-01-26 12:38:52 +01:00
Alexander Tokmakov
a584ad0eb1
forbid runtime strings
2023-01-26 10:52:47 +01:00
Antonio Andelic
6fe9e9a67f
Merge pull request #45617 from ClickHouse/fix-bfngram-index
...
Correctly check types when using N-gram bloom filter index
2023-01-26 09:05:56 +01:00
Alexander Tokmakov
9b670946db
Merge branch 'master' into exception_message_patterns5
2023-01-26 00:41:32 +01:00
Anton Popov
79ea6a1c9c
fix performance of short queries
2023-01-25 22:20:01 +00:00
Han Fei
0221b50028
Merge pull request #45601 from hanfei1991/hanfei/async-cache-conflict
...
fix race of async-insert-blockids-cache
2023-01-25 22:28:42 +01:00
Alexander Tokmakov
3744fa2c63
format more messages
2023-01-25 21:16:42 +01:00
Anton Popov
0f46c1ecc6
fix build
2023-01-25 20:13:54 +00:00
Azat Khuzhin
00c341850f
Improve "at least part X is missing" error message
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-25 19:53:45 +01:00
Anton Popov
a455083b87
Merge remote-tracking branch 'upstream/master' into refactoring-merge-tree-parts
2023-01-25 18:01:12 +00:00
Kruglov Pavel
83a212a128
Merge branch 'master' into more-fsync-fixes
2023-01-25 18:40:41 +01:00
Anton Popov
8e3698c91f
refactoring of code near merge tree parts
2023-01-25 17:34:09 +00:00
Antonio Andelic
7fa906487c
Fix ngram index with null
2023-01-25 16:40:04 +00:00
Anton Popov
d9aabb48c3
remove useless code
2023-01-25 16:11:15 +00:00
Alexander Tokmakov
6eb557b2ba
Merge branch 'master' into exception_message_patterns4
2023-01-25 13:49:17 +01:00
Robert Schulze
59528cfca0
Merge pull request #45460 from ClickHouse/inv-index-cleanup
...
Cleanup of inverted index
2023-01-25 13:23:38 +01:00
Han Fei
8c4bbcd0fc
fix race of async-insert-blockids-cache
2023-01-25 12:41:01 +01:00
Sergei Trifonov
0d1ea05ff6
Merge pull request #45007 from ClickHouse/cancellable-mutex-integration
...
Fast shared mutex integration
2023-01-25 11:15:46 +01:00
Kseniia Sumarokova
2b8b1ad5d4
Additional check in MergeTreeReadPool ( #45515 )
...
* Check ranges
* Check equality just in case
* Check under ndebug
2023-01-24 23:56:26 +01:00
Azat Khuzhin
54ef885a61
Fsync all small files at once after mutation
...
Everything else is handled in MergedBlockOutputStream::finalizePart()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-24 14:08:37 +01:00
Azat Khuzhin
4b775ccdd5
Do fsync all files at once for fetched parts to decrease latency
...
For filessystems like ext4, fsync of one file will handle all operations
before, so this can be pretty time consuming.
And in case of you write multiple files in a loop, and at the end of
each iteration sync each file, then during writing of this file there
can be other operations in journal, and hence more work for fsync.
Let's call fsync for all files at once instead, like
MergedBlockOutputStream does.
Hope that keeping all file buffers till the end, will not cause troubles
(buffering and so forth).
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-24 14:08:37 +01:00
Azat Khuzhin
b370e3faa5
Move fsync inside transaction callback in DataPartStorageOnDisk::rename()
...
Otherwise, it is useless.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-24 14:08:37 +01:00
Robert Schulze
9ff2bfcbf5
Merge remote-tracking branch 'origin/master' into inv-index-cleanup
...
src/Interpreters/GinFilter.cpp
src/Interpreters/InterpreterCreateQuery.cpp
src/Storages/MergeTree/MergeTreeData.cpp
src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp
src/Storages/MergeTree/MergeTreeIndexInverted.cpp
2023-01-24 10:09:42 +00:00
Alexander Tokmakov
bb4c8e169f
check number of parameters in format string
2023-01-23 23:16:16 +01:00