alexey-milovidov
eeae89388b
Merge pull request #34230 from aaronstephenkatz/patch-1
...
adding # as a recognized start of single line comment
2022-02-02 03:03:01 +03:00
Maksim Kita
edba793cf9
Merge pull request #34199 from cnmade/PF202202010637
...
sync index from operations: doese clickhouse support multi-region rep…
2022-02-01 22:58:54 +01:00
Sergei Trifonov
68bc456830
Merge pull request #34223 from azat/bump-fmt
...
Bump fmtlib from 7.0.0 to 8.1.1
2022-02-02 00:03:25 +03:00
mergify[bot]
ce79527b98
Merge branch 'master' into PF202202010637
2022-02-01 20:43:22 +00:00
Maksim Kita
1ea10c69fe
Merge pull request #34174 from cnmade/PF202201311935
...
Translate zh/faq/operations/multi-region-replication:
2022-02-01 20:20:59 +01:00
Nikolai Kochetov
9ea4f8d955
Fix test name.
2022-02-01 19:12:39 +00:00
Nikolai Kochetov
392d60eb0d
Update documentation.
2022-02-01 19:09:29 +00:00
Nikolai Kochetov
ed90a0fc1c
Add tests.
2022-02-01 18:57:56 +00:00
Aaron Katz
0cac4b4a6e
adding # as a recognized start of single line comment
2022-02-01 09:40:17 -08:00
Nikolay Degterinsky
c523544463
Merge pull request #34213 from cnmade/PF202202011315
...
Translate zh/faq/operations/index
2022-02-01 20:28:08 +03:00
mergify[bot]
ddb81e46b1
Merge branch 'master' into PF202202011315
2022-02-01 17:01:33 +00:00
Nikolai Kochetov
dd81eff301
Fix tests.
2022-02-01 15:28:22 +00:00
Anton Popov
a4aa1f37ce
remove unused code
2022-02-01 17:44:23 +03:00
Mikhail f. Shiryaev
805690cbdc
Merge pull request #34183 from ClickHouse/dockerhub-auth
...
Add authorisation for dockerhub proxy container
2022-02-01 14:58:45 +01:00
alexey-milovidov
cafb19d7fb
Merge pull request #34114 from amosbird/replxxwithlexer
...
Combining our lexer with replxx for better multiple line editing
2022-02-01 16:32:25 +03:00
alexey-milovidov
4236ae8835
Merge pull request #34192 from devcrafter/deduplication_token_7461_cleanup
...
Clean up: insert_deduplication_token setting for INSERT statement
2022-02-01 16:31:34 +03:00
alexey-milovidov
c3a68561dc
Merge pull request #34222 from ClickHouse/add-const-in-grpc-server
...
Add const to make clang-tidy happy
2022-02-01 16:25:15 +03:00
achimbab
b3f63965cc
Merge branch 'ClickHouse:master' into ttest_confidence_intervals
2022-02-01 22:24:56 +09:00
alexey-milovidov
2b1d1a9a6f
Merge pull request #34208 from ClickHouse/parse-date-time-best-effort-more-cases
...
More cases for `parseDateTimeBestEffort`
2022-02-01 16:22:52 +03:00
alexey-milovidov
798e0e8242
Merge pull request #34205 from ClickHouse/format-regexp-allow-cr-in-the-middle
...
Format `Regexp`: allow `\r` in the middle
2022-02-01 16:22:02 +03:00
Vitaly Baranov
1f81e43f1e
Fix checking grants for SHOW GRANTS.
2022-02-01 19:55:24 +07:00
Anton Popov
c28255850a
fix metric Query
2022-02-01 15:06:49 +03:00
Azat Khuzhin
d0d71180dd
Add fmt::runtime in gtest_log
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-01 14:44:47 +03:00
Vitaly Baranov
2ef2479ddc
Add const to make clang-tidy happy
2022-02-01 18:38:52 +07:00
Azat Khuzhin
de80014eb5
Use fmt::format over Poco::format in PostgreSQLHandler
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-01 14:30:04 +03:00
Azat Khuzhin
5dfafd68a7
ReplicatedMergeTreeQueue: Fix fmt:: and reduce copy-paste of logging and out reason
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-01 14:30:04 +03:00
Azat Khuzhin
5be76bc969
Use proper fmt-like logging
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-01 14:30:04 +03:00
Azat Khuzhin
3b3635c6d5
Fix formatting error in logging messages
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-01 14:30:04 +03:00
Azat Khuzhin
743096a883
Use proper fmt:: like Exception ctor in DataPartsExchange
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-01 14:30:03 +03:00
Azat Khuzhin
cf93732de9
DatabaseSQLite: fix fmt error in DatabaseSQLite::checkSQLiteTable()
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-01 14:30:03 +03:00
Azat Khuzhin
220ed206c1
logger_useful: implicitly convert fmt::basic_runtime for std::string ctor
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-01 14:30:03 +03:00
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
Nikolai Kochetov
a6cc61bd14
Revert "Revert "Additionally check remote_fs_execute_merges_on_single_replica_time_threshold inside ReplicatedMergeTreeQueue""
2022-02-01 14:17:46 +03:00
Amos Bird
e29c77f793
Fix link order issue of WriteBufferFromS3
...
(cherry picked from commit f22b09f4fc
)
2022-02-01 10:42:06 +00:00
Nikolai Kochetov
2a6eb593be
Revert "Revert "Add pool to WriteBufferFromS3""
2022-02-01 13:36:51 +03:00
mergify[bot]
d7365c3daf
Merge branch 'master' into PF202201311935
2022-02-01 10:04:10 +00:00
Ilya Yatsishin
a93aecf1cb
Merge pull request #34191 from Avogar/fix-perf-tests
2022-02-01 11:54:38 +03:00
mergify[bot]
a615560891
Merge branch 'master' into PF202202011315
2022-02-01 08:34:59 +00:00
alexey-milovidov
06477c2a7e
Update ReplicatedMergeTreeSink.cpp
2022-02-01 09:22:40 +01:00
Igor Nikonov
f4c0b64420
Clean up: insert_deduplication_token setting for INSERT statement
...
+ reduce number of allocations on replication merge tree path
+ bash test: move insert block settings into variable
Issue: ClickHouse#7461
2022-02-01 09:22:33 +01: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
tesw yew isal
78ed031bf0
Translate zh/faq/operations/index: remove old files
2022-02-01 13:22:15 +08:00
tesw yew isal
a96dc47854
Translate zh/faq/operations/index: translate zh
2022-02-01 13:21:25 +08:00
tesw yew isal
e736f77b98
Translate zh/faq/operations/index: reimport file
2022-02-01 13:16:57 +08:00
tesw yew isal
8e81f5084d
Translate zh/faq/operations/index: rename old files
2022-02-01 13:16:01 +08: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
7dbf0dede5
Change severity of the "Cancelled merging parts" message in logs
2022-02-01 05:55:07 +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