Commit Graph

82471 Commits

Author SHA1 Message Date
Andrew
93f9a9e37a
Update clickhouse-keeper.md
fix the run command and add example
2022-02-02 14:32:29 +00:00
Nikolay Degterinsky
29c15f8c65
Merge pull request #33723 from FrankChen021/trace_id_order
Parse and store opentelemetry trace-id in big-endian order
2022-02-02 14:59:46 +03:00
Nikolay Degterinsky
c60fd44c5b
Merge pull request #34247 from CoolT2/patch-1
Add quick start alert to RU installation guide
2022-02-02 14:33:55 +03:00
Nikolay Degterinsky
e0332a5d7a
Merge pull request #33909 from Tiaonmmn/patch-5
Update ansi.md
2022-02-02 14:18:24 +03:00
CoolT2
88ae611739
Apply suggestions from code review
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2022-02-02 13:51:29 +03:00
tavplubix
7304fd654a
Merge pull request #34224 from CurtizJ/fix-query-metric
Fix metric `Query`
2022-02-02 13:39:07 +03:00
CoolT2
9f8cf1f0e5
Add quick start alert to RU installation guide
Add quick start note as in EN version
2022-02-02 13:29:05 +03:00
Nikolay Degterinsky
56ac75a6e9
Merge pull request #34245 from azat/build-fix
Add missing fmt::runtime() in MergeTreeBackgroundExecutor (fixes the build)
2022-02-02 13:29:03 +03:00
Nikolay Degterinsky
3da0f40bd8
Merge pull request #34242 from cnmade/PF202202020845
Translate zh/faq/integration/index
2022-02-02 13:18:35 +03:00
Mikhail f. Shiryaev
75adf5d12d
Merge pull request #33948 from qoega/no-clickhouse-test-deb-in-stateless
Do not use clickhouse-test.deb in stateless CI checks
2022-02-02 10:23:33 +01:00
Azat Khuzhin
15993cb13b Add missing fmt::runtime() in MergeTreeBackgroundExecutor
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-02 11:37:53 +03:00
mergify[bot]
bae28656ba
Merge branch 'master' into PF202202020845 2022-02-02 08:34:27 +00:00
alesapin
47d538b52f
Merge pull request #34232 from ClickHouse/cancelled-merging-parts-error-message
Change severity of the "Cancelled merging parts" message in logs
2022-02-02 10:29:07 +03:00
tesw yew isal
057194c773 Translate zh/faq/integration/index: remove old file 2022-02-02 08:52:49 +08:00
tesw yew isal
f2a8ba403d Translate zh/faq/integration/index: translate to zh 2022-02-02 08:52:12 +08:00
tesw yew isal
5496d4d840 Translate zh/faq/integration/index: reimport file 2022-02-02 08:48:41 +08:00
tesw yew isal
efd15a92de Translate zh/faq/integration/index: rename old file 2022-02-02 08:47:49 +08:00
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
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
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
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
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