Commit Graph

82390 Commits

Author SHA1 Message Date
Azat Khuzhin
bedf208cbd Use fmt::runtime() for LOG_* for non constexpr
Here is oneliner:

    $ gg 'LOG_\(DEBUG\|TRACE\|INFO\|TEST\|WARNING\|ERROR\|FATAL\)([^,]*, [a-zA-Z]' -- :*.cpp :*.h | cut -d: -f1 | sort -u | xargs -r sed -E -i 's#(LOG_[A-Z]*)\(([^,]*), ([A-Za-z][^,)]*)#\1(\2, fmt::runtime(\3)#'

Note, that I tried to do this with coccinelle (tool for semantic
patchin), but it cannot parse C++:

    $ cat fmt.cocci
    @@
    expression log;
    expression var;
    @@

    -LOG_DEBUG(log, var)
    +LOG_DEBUG(log, fmt::runtime(var))

I've also tried to use some macros/templates magic to do this implicitly
in logger_useful.h, but I failed to do so, and apparently it is not
possible for now.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

v2: manual fixes
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-01 14:30:03 +03:00
Azat Khuzhin
a09bc1d72e Add fmt::runtime() in Exception ctor
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-01 14:30:03 +03:00
Azat Khuzhin
e4697a8d41 Update fmtlib (7.0.0 -> 8.1.1)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-01 14:30:03 +03:00
Ilya Yatsishin
a93aecf1cb
Merge pull request #34191 from Avogar/fix-perf-tests 2022-02-01 11:54:38 +03:00
Vitaly Baranov
bc6802f815
Merge pull request #34064 from andremarianiello/propagate-grpc-tracing-context
Propagate trace context from GRPC calls
2022-02-01 14:11:43 +07:00
alexey-milovidov
99392b5ca7
Merge pull request #13544 from amosbird/mdha
Multi-Disk auto-recovery.
2022-02-01 06:13:26 +03:00
alexey-milovidov
b4e90eb8af
Merge pull request #34212 from ClickHouse/revert-33291-add-pool-to-s3-write-buffer
Revert "Add pool to WriteBufferFromS3"
2022-02-01 05:50:33 +03:00
alexey-milovidov
095d9bfa43
Revert "Add pool to WriteBufferFromS3" 2022-02-01 05:49:40 +03:00
alexey-milovidov
c9571c6086
Merge pull request #34202 from ClickHouse/speedup-format-regexp
Improve performance of format Regexp
2022-02-01 05:46:52 +03:00
alexey-milovidov
cb9e9f9c0a
Merge pull request #34211 from ClickHouse/revert-34153-add_func_tests_over_s3
Revert "Add func tests run with s3"
2022-02-01 05:46:29 +03:00
alexey-milovidov
cbfcd45be3
Revert "Add func tests run with s3" 2022-02-01 05:46:13 +03:00
alexey-milovidov
a2aa147ce0
Merge pull request #34153 from ClickHouse/add_func_tests_over_s3
Add func tests run with s3
2022-02-01 05:46:09 +03:00
alexey-milovidov
d4eb0de663
Update developer-instruction.md 2022-02-01 05:29:42 +03:00
mergify[bot]
e229487817
Merge branch 'master' into mdha 2022-02-01 01:22:16 +00:00
Maksim Kita
490e5f14e4
Merge pull request #34176 from cnmade/PF202201312005
sync index from operations: doese clickhouse support multi-region rep…
2022-02-01 01:32:58 +01:00
Dmitry Novik
3a0ed0f8f5
Merge pull request #33324 from azat/buffer-different-structure
Simplify different block structure (i.e. after ALTER) support for Buffer
2022-02-01 02:19:49 +03:00
Alexey Milovidov
872d0a0fbe Improve performance of format Regexp 2022-02-01 02:07:48 +03:00
alexey-milovidov
9e28ce73ed
Merge pull request #34201 from ClickHouse/revert-34189-less-logging-for-remote_fs_execute_merges_on_single_replica_time_threshold
Revert "Additionally check remote_fs_execute_merges_on_single_replica_time_threshold inside ReplicatedMergeTreeQueue"
2022-02-01 01:52:03 +03:00
alexey-milovidov
15e4fe5c78
Revert "Additionally check remote_fs_execute_merges_on_single_replica_time_threshold inside ReplicatedMergeTreeQueue" 2022-02-01 01:51:39 +03:00
tesw yew isal
f9c0081d55 sync index from operations: doese clickhouse support multi-region replication:fix link 2022-02-01 06:29:23 +08:00
Amos Bird
ec7d367814
DiskLocal checker
Add DiskLocal checker so that ReplicatedMergeTree can recover data when some of its disks are broken.
2022-02-01 05:55:27 +08:00
Mikhail f. Shiryaev
678dd6b3f2
Merge pull request #33596 from msaf1980/rollup_rules_type_doc
Update GraphiteMergeTree documentation (splitted GraphiteMergeTree rollup rules)
2022-01-31 22:06:51 +01:00
alesapin
dd61d1c2de
Merge pull request #34172 from ClickHouse/fix_race_in_some_engines
Fix benign race condition for storage HDFS, S3, URL
2022-01-31 22:41:54 +03:00
alesapin
75d73d2785
Merge pull request #34139 from ClickHouse/fix_buf_s3_low_cardinality
Fix bug with bounded S3 reads and LowCardinality
2022-01-31 22:41:14 +03:00
Nikolai Kochetov
348d72266a
Merge pull request #34189 from ClickHouse/less-logging-for-remote_fs_execute_merges_on_single_replica_time_threshold
Additionally check remote_fs_execute_merges_on_single_replica_time_threshold inside ReplicatedMergeTreeQueue
2022-01-31 21:39:04 +03:00
avogar
6229ec530d Fix some perf tests 2022-01-31 21:07:20 +03:00
Nikolai Kochetov
a207cdf28f Additionally check remote_fs_execute_merges_on_single_replica_time_threshold inside ReplicatedMergeTreeQueue. 2022-01-31 17:53:28 +00:00
Nikolai Kochetov
321fa4a9e8
Merge pull request #33291 from ClickHouse/add-pool-to-s3-write-buffer
Add pool to WriteBufferFromS3
2022-01-31 19:37:40 +03:00
tavplubix
d0ea72f878
Merge pull request #34005 from nicelulu/system_on_cluster
Supports all types of SYSTEM query ON CLUSTER clause.
2022-01-31 19:26:32 +03:00
alesapin
ace8169732 Fix kafka test 2022-01-31 19:18:34 +03:00
alesapin
b6828f1b4a Supress some tests for S3 2022-01-31 19:09:25 +03:00
alesapin
93c0700c4c Fix typo 2022-01-31 16:46:58 +03:00
alesapin
056b9e335f Fix comment 2022-01-31 16:39:42 +03:00
alesapin
31753afb7e Fix cancel logic in parallel parsing 2022-01-31 16:38:15 +03:00
Mikhail f. Shiryaev
b4d26a4695
Add English documentation for GMT tagged rules 2022-01-31 14:22:12 +01:00
Mikhail f. Shiryaev
646495fc32
Reword some sentences to simplify before translation 2022-01-31 14:14:51 +01:00
Maksim Kita
41a2da6200
Merge pull request #34173 from kitaisreal/documentation-zh-broken-links-build-fix
Documentation zh broken links build fix
2022-01-31 13:26:00 +01:00
tesw yew isal
282bebcb6e sync index from operations: doese clickhouse support multi-region replication 2022-01-31 20:06:04 +08:00
Mikhail f. Shiryaev
73c079f93c
Fix formatting for a list 2022-01-31 12:58:17 +01:00
mergify[bot]
81d75d0915
Merge branch 'master' into documentation-zh-broken-links-build-fix 2022-01-31 11:37:55 +00:00
Maksim Kita
8513f20cfd
Merge pull request #34145 from kitaisreal/bitset-sort-performance-check
pdqsort performance check
2022-01-31 12:35:13 +01:00
Michail Safronov
7695a04df6
Update docs/ru/engines/table-engines/mergetree-family/graphitemergetree.md #3 2022-01-31 16:19:52 +05:00
alesapin
5230c59f05 Smaller scope 2022-01-31 14:03:06 +03:00
Maksim Kita
ad0f616fba Documentation zh broken links build fix 2022-01-31 11:01:47 +00:00
alesapin
cbf4790ea4 More clear error 2022-01-31 13:59:16 +03:00
alesapin
1adc7538fe Fix benign race condition for storage HDFS, S3, URL 2022-01-31 13:50:28 +03:00
alesapin
5be3968526 Fix bug in cache compressed read buffer 2022-01-31 13:40:26 +03:00
alesapin
c3f7dece5e
Update tests/integration/test_s3_low_cardinality_right_border/test.py
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2022-01-31 12:36:58 +03:00
tavplubix
d19e24f530
Merge pull request #34096 from ClickHouse/fix_race_merge_selecting_task
Fix race between mergeSelectingTask and queue reinitialization
2022-01-31 12:16:29 +03:00
Maksim Kita
241c395329 Fixed style check 2022-01-31 09:12:08 +00:00