Commit Graph

155156 Commits

Author SHA1 Message Date
Azat Khuzhin
fdeaf55b0f Increase lock timeout in attempt to fix 02125_many_mutations
Recent failures on CI [1]:

    2024.10.06 16:28:33.624022 [ 620 ] {0e953192-be08-422a-a21f-c3b6f8f5e24d} <Debug> executeQuery: (from [::1]:58814) (comment: 02125_many_mutations.sh) system start merges many_mutations; (stage: Complete)
    2024.10.06 16:28:33.624022 [ 620 ] {0e953192-be08-422a-a21f-c3b6f8f5e24d} <Debug> executeQuery: (from [::1]:58814) (comment: 02125_many_mutations.sh) system start merges many_mutations; (stage: Complete)
    2024.10.06 16:28:33.624408 [ 620 ] {0e953192-be08-422a-a21f-c3b6f8f5e24d} <Debug> TCPHandler: Processed in 0.00091483 sec.
    2024.10.06 16:28:33.624480 [ 929 ] {} <Debug> MutationsInterpreter(test_xa6pnknp.many_mutations): Will use old analyzer to prepare mutation
    ...
    2024.10.06 16:28:33.625358 [ 620 ] {d6a3f295-498f-48e2-8af7-bbec46e03a7e} <Debug> executeQuery: (from [::1]:58814) (comment: 02125_many_mutations.sh) optimize table many_mutations final SETTINGS optimize_throw_if_noop = 1; (stage: Complete)
    ...
    2024.10.06 16:28:37.765705 [ 929 ] {} <Debug> MutationsInterpreter(test_xa6pnknp.many_mutations): Will use old analyzer to prepare mutation
    2024.10.06 16:28:37.765881 [ 929 ] {} <Trace> DiskLocal: Reserved 1.00 MiB on local disk `default`, having unreserved 127.09 GiB.
    2024.10.06 16:28:37.765946 [ 620 ] {d6a3f295-498f-48e2-8af7-bbec46e03a7e} <Debug> test_xa6pnknp.many_mutations (32de70b8-ea0a-4766-ac95-8ebc7923205e): Waiting for currently running merges (1 parts are merging right now) to perform OPTIMIZE FINAL
    ...
    2024.10.06 16:28:37.968946 [ 1227 ] {32de70b8-ea0a-4766-ac95-8ebc7923205e::all_1_1_0_20001} <Debug> MutationsInterpreter(test_xa6pnknp.many_mutations): Will use old analyzer to prepare mutation
    ...
    2024.10.06 16:31:24.077825 [ 620 ] {d6a3f295-498f-48e2-8af7-bbec46e03a7e} <Information> test_xa6pnknp.many_mutations (32de70b8-ea0a-4766-ac95-8ebc7923205e): Cannot OPTIMIZE table: Timeout (120000 ms) while waiting for already running merges before running OPTIMIZE with FINAL. Cannot select pa>
    ...
    2024.10.06 16:31:33.473249 [ 1235 ] {32de70b8-ea0a-4766-ac95-8ebc7923205e::all_1_1_0_20001} <Trace> test_xa6pnknp.many_mutations (32de70b8-ea0a-4766-ac95-8ebc7923205e): Renaming temporary part tmp_mut_all_1_1_0_20001 to all_1_1_0_20001 with tid (1, 1, 00000000-0000-0000-0000-000000000000).
    ...
    2024.10.06 16:31:34.944518 [ 1268 ] {} <Trace> test_xa6pnknp.many_mutations (32de70b8-ea0a-4766-ac95-8ebc7923205e): Removing mutation: mutation_2.txt
    2024.10.06 16:31:34.945149 [ 1268 ] {} <Trace> test_xa6pnknp.many_mutations (32de70b8-ea0a-4766-ac95-8ebc7923205e): Removing mutation: mutation_3.txt

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/70358/eca9ec566a63a9046bb3f1c9373d671946a95ba4/stateless_tests__aarch64_.html

The problem is that after "start merges" all mutations will start, and
the OPTIMIZE may be blocked for too long due to too much mutations in
the queue.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-10-07 09:20:28 +02:00
Julia Kartseva
a98fca0637
Merge pull request #70423 from ClickHouse/realtime-metrics-followup
Follow-up on clickhouse-client realtime metrics display #63689
2024-10-07 05:07:13 +00:00
Pavel Kruglov
093633bf6a
Merge pull request #69584 from Avogar/fix-postgresql-fixed-string-issue
Fix inserting into FixedString column in PostgreSQL engine
2024-10-07 04:48:14 +00:00
Pavel Kruglov
8348670099
Merge pull request #70172 from Avogar/fix-column-object-copy
Fix crash in JSON column
2024-10-07 04:44:20 +00:00
Pavel Kruglov
e402f1ae84
Merge pull request #70328 from Avogar/fix-dynamic-reduce-alter
Fix ALTER of Dynamic type with reducing max_types parameter
2024-10-07 04:05:06 +00:00
Julia Kartseva
3668258127 display progress table if toggling is disabled 2024-10-06 20:36:06 +00:00
Julia Kartseva
2d8bda03b5 fix cursor display
Restore cursor when query is canceled by Ctrl-C.
Immediately stop intercepting keystrokes after SIGINT is received.
2024-10-06 20:28:47 +00:00
Alexey Milovidov
1e36e19aa9
Merge pull request #70289 from ClickHouse/inline-documentation-for-settings
Make embedded documentation for Settings strictly better than the Markdown docs
2024-10-06 13:05:52 +00:00
Alexey Milovidov
f056c6c2e5 Add words to dict 2024-10-06 11:35:27 +08:00
Alexey Milovidov
d87fcab2fb Fix typos 2024-10-06 11:33:59 +08:00
Alexey Milovidov
c4b89b56f2 Fix style 2024-10-06 11:31:35 +08:00
Alexey Milovidov
acd0760026 Fix style 2024-10-06 11:31:01 +08:00
Alexey Milovidov
0b291cb079 Fix tidy 2024-10-06 11:16:15 +08:00
Alexey Milovidov
9a30ae7c37 Trim newlines 2024-10-06 11:16:02 +08:00
Alexey Milovidov
1ffae83809 Fix style 2024-10-06 11:15:47 +08:00
Alexey Milovidov
c0795b616a Fix unknown words 2024-10-06 11:15:28 +08:00
Alexey Milovidov
9c8dd953f0 Fix a wrong variable name 2024-10-06 11:15:11 +08:00
Alexey Milovidov
8c881049b5 Fix typos 2024-10-06 11:14:51 +08:00
Alexey Milovidov
db0c76c74e Fix style 2024-10-06 11:14:29 +08:00
Alexey Milovidov
d94f717caa Fix style 2024-10-06 11:14:08 +08:00
Alexey Milovidov
f657f1e0b4 Fix typos 2024-10-06 11:13:43 +08:00
Alexey Milovidov
c71e20146f Step 2: synchronize docs with the source 2024-10-06 11:12:59 +08:00
Alexey Milovidov
cfdb7b0dce Make embedded documentation for Settings strictly better than the Markdown docs 2024-10-06 11:05:35 +08:00
Alexey Milovidov
05ab112961 Preparation 2024-10-06 10:30:16 +08:00
Alexey Milovidov
64036f5eee Preparation 2024-10-06 10:25:36 +08:00
Alexey Milovidov
ce4d88851a
Merge pull request #70411 from ClickHouse/macos-empathy
Empathy to Mac OS users
2024-10-05 22:53:34 +00:00
Sergei Trifonov
19613041d9
Merge pull request #68694 from filimonov/thread_pool_thread_creation_out_of_lock
Thread pool: move thread creation out of lock
2024-10-05 20:29:58 +00:00
Michael Kolupaev
97923069e5
Merge pull request #60669 from ClickHouse/mvrere
Refreshable MV: DatabaseReplicated support, coordination among replicas
2024-10-05 18:46:46 +00:00
Alexey Milovidov
ba4c3663a6 Merge branch 'master' of github.com:ClickHouse/ClickHouse into macos-empathy 2024-10-06 02:10:27 +08:00
Alexey Milovidov
38fb032594 Make it better 2024-10-06 02:09:30 +08:00
Konstantin Bogdanov
af6b5e85c0
Merge pull request #70412 from ClickHouse/fix-clang19-build
Fix `clang-19` build issues
2024-10-05 17:25:02 +00:00
Alexey Milovidov
65dadc02c7
Merge pull request #70320 from ClickHouse/sync-settings
Synchronize settings with private
2024-10-06 01:01:03 +08:00
Konstantin Bogdanov
47d52c780f
Use libdivide v5.1 2024-10-05 14:51:23 +02:00
Konstantin Bogdanov
f0ae77edb0
Fix build with clang-19 2024-10-05 14:47:23 +02:00
Alexey Milovidov
9439004c4e Empathy to Mac OS users 2024-10-05 17:30:51 +08:00
Alexey Milovidov
7e7a92cef6 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sync-settings 2024-10-05 16:26:28 +08:00
Alexey Milovidov
fcd6064f92 Fix CLion 2024-10-05 16:16:32 +08:00
Alexey Milovidov
9905fde826 Add settings for ClickHouse Cloud 2024-10-05 15:59:10 +08:00
Alexey Milovidov
35b081acab Merge branch 'master' into sync-settings 2024-10-05 15:48:33 +08:00
Alexey Milovidov
69a0c123c2
Merge pull request #69787 from ClickHouse/maxmap
Fix 'Bad get' in maxMap state serialization
2024-10-05 07:47:00 +00:00
Alexey Milovidov
aae155f5a6
Merge pull request #70111 from jiebinn/changeDefaultValue
Change the default threshold to enable hyper threading
2024-10-05 07:46:33 +00:00
Alexey Milovidov
418233dbd8
Merge pull request #63689 from mariaKhr/interactive-metrics-table
An option for clickhouse-client to show realtime table with metrics
2024-10-05 07:19:14 +00:00
Alexey Milovidov
ff33c432bd
Merge pull request #70354 from ClickHouse/pufit/fix-69634
Fix `MODIFY COLUMN MODIFY SETTINGS` crash for special columns
2024-10-05 07:03:49 +00:00
Alexey Milovidov
4524dc3e52
Merge pull request #70361 from cwurm/patch-4
Update grant.md: Complete list of SOURCES grants
2024-10-05 06:02:46 +00:00
Raúl Marín
2dcbd0aaf7
Merge pull request #70285 from Algunenano/setting2
Hide MergeTreeSettings implementation
2024-10-05 01:14:44 +00:00
Raúl Marín
5b52bb298e Merge remote-tracking branch 'blessed/master' into setting2 2024-10-04 23:14:04 +02:00
Nikolai Kochetov
f6041f783a
Merge pull request #70322 from ClickHouse/add-compatibility-for-merge-tree-settings
Add compatibility options for MergeTree settings.
2024-10-04 20:18:32 +00:00
Raúl Marín
f32da6f837 Faster style checker 2024-10-04 22:10:35 +02:00
Shichao
cd62f5a9bb
Merge pull request #58408 from Chen768959/fix-57616
Fix type mismatch issue in sumMapFiltered
2024-10-04 18:28:29 +00:00
Raúl Marín
cbfd5cf90e Hide MergeTreeSettings implementation 2024-10-04 19:03:15 +02:00