Commit Graph

93865 Commits

Author SHA1 Message Date
Vitaly Baranov
e602e01232 Fix style. 2022-07-27 09:04:10 +02:00
Vitaly Baranov
a79fc17235 Add test for system.backups 2022-07-27 09:04:10 +02:00
Vitaly Baranov
51a2bf33e8 Rename backup statuses to CREATING_BACKUP, BACKUP_CREATED, BACKUP_FAILED, RESTORING, RESTORED, RESTORE_FAILED. 2022-07-27 09:04:10 +02:00
Vitaly Baranov
1cfe0b10f7 Add columns "total_size" and "num_files" to system.backups 2022-07-27 09:04:10 +02:00
Vitaly Baranov
35c267b3b1 Replace column "status_changed_time" with columns "start_time" and "end_time". 2022-07-27 09:04:10 +02:00
Vitaly Baranov
fc16a15ecf Rename column "uuid" -> "id" in system.backups and allow user to set it in a query. 2022-07-27 09:04:10 +02:00
Vitaly Baranov
131019ba49 Rename column "backup_name" -> "name" in system.backups. 2022-07-27 09:04:10 +02:00
Vitaly Baranov
d129be2a9e Remove column "backup_name" from the result of a BACKUP/RESTORE query 2022-07-27 09:04:10 +02:00
Vitaly Baranov
afd0982187 Remove column "internal" from system.backups 2022-07-27 09:04:10 +02:00
Vitaly Baranov
16a60b5e93
Merge pull request #39455 from vitlibar/fix-locks-add-tests
Improve synchronization between hosts in distributed backup and fix locks
2022-07-27 09:02:58 +02:00
Antonio Andelic
904a05ac21
Merge pull request #39496 from azat/custom-tld-exclamation-asterisk
Add support of !/* (exclamation/asterisk) in custom TLDs
2022-07-27 08:55:49 +02:00
Nikolay Degterinsky
7666c4e39c
Merge pull request #39625 from tylerhannan/poweredge_r740
add Dell PowerEdge R740XD results
2022-07-27 02:41:46 +02:00
Alexander Gololobov
a64aa00869
Merge pull request #37893 from zhangjmruc/feature/sql-standard-delete
Support SQL standard "delete from ... where ..." syntax and lightweight implementation on merge tree tables
2022-07-26 23:39:07 +02:00
Tyler Hannan
fe0db1e859 add Dell PowerEdge R740XD results 2022-07-26 20:57:49 +02:00
Alexander Tokmakov
288b73035f
Merge pull request #39623 from ClickHouse/tavplubix-patch-2
Disable 02327_capnproto_protobuf_empty_messages with Ordinary
2022-07-26 20:52:30 +03:00
Alexander Tokmakov
9f053935b6
Update 02327_capnproto_protobuf_empty_messages.sh 2022-07-26 20:49:41 +03:00
Robert Schulze
7d653b3bd8
Merge pull request #39495 from ClickHouse/mark-qpl-deflate-experimental
Mark new codec DEFLATE_QPL as experimental + cosmetics
2022-07-26 19:00:21 +02:00
Kruglov Pavel
c683cb252f
Merge pull request #39227 from amosbird/rename-log1
Rename log when rename merge tree tables
2022-07-26 17:12:44 +02:00
Dan Roscigno
54abeb624a
Merge pull request #39417 from nikoloko/patch-3
Corrected structure of the users section
2022-07-26 11:12:36 -04:00
Dan Roscigno
b9c8feb2b2
Merge pull request #39356 from nickitat/small_addition_to_docs
Small addition to mysql dictionary docs
2022-07-26 11:11:28 -04:00
Mikhail f. Shiryaev
061e61919a
Merge pull request #39450 from ClickHouse/tsal-clang-13
Build thread sanitizer binaries with clang-13
2022-07-26 15:13:17 +02:00
Nikolai Kochetov
908c1d8cba
Merge pull request #39601 from ClickHouse/fix-chain-add-sink
Fix Chain::addSink
2022-07-26 14:54:44 +02:00
Vitaly Baranov
413024b4f4 Add call ZooKeeper::sync(). 2022-07-26 14:14:01 +02:00
Alexander Tokmakov
bb80ed1dbe
Merge pull request #39564 from ClickHouse/disable_tests_with_materialized_postgres
Temporarily disable all tests with MaterializedPostgreSQL
2022-07-26 14:56:48 +03:00
Kseniia Sumarokova
7d448fc177
Merge pull request #39244 from kssenii/http-buffer-small-fixes
Some small fixes for http read buffer, allow to retry partial content in case of 200ok
2022-07-26 14:47:11 +03:00
alesapin
8e98b7d47d
Merge pull request #39321 from ClickHouse/fix-flaky-keeper-recovery-test
Possible fix for flaky `test_keeper_force_recovery`
2022-07-26 13:37:41 +02:00
Alexander Gololobov
1b1fa54db1
Added 'long' tag 2022-07-26 12:42:37 +02:00
Kruglov Pavel
c362551642
Merge pull request #39357 from Avogar/fix-protobuf-capnp-empty-message
Fix schema inference in case of empty messages in Protobuf/CapnProto formats
2022-07-26 12:33:28 +02:00
Vitaly Baranov
f0cd564648 Changes after review and added comments. 2022-07-26 11:58:05 +02:00
Nikolai Kochetov
683a8866ef Fix Chain::addSink 2022-07-26 09:36:39 +00:00
Vladimir C
d9e8e9b948
Merge pull request #39552 from filimonov/maxsplit-bug
Fix bug with maxsplit in the splitByChar
2022-07-26 11:14:27 +02:00
Vladimir C
3bd5ca9b6a
Merge pull request #39271 from vdimir/join-alg-setting
Cleanup logic around join_algorithm setting, add docs
2022-07-26 11:00:22 +02:00
Vladimir C
0d65415086
Update docs/en/operations/settings/settings.md
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-07-26 11:00:12 +02:00
Vladimir C
d0183de34a
Update docs/en/operations/settings/settings.md
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-07-26 11:00:08 +02:00
Vladimir C
888417e788
Merge pull request #39556 from vdimir/asof_optimize_predicate_bug_37813
Fix bug in ASOF JOIN with enable_optimize_predicate_expression
2022-07-26 10:51:25 +02:00
Alexander Gololobov
0666ec2e1f
Merge branch 'master' into feature/sql-standard-delete 2022-07-26 10:42:39 +02:00
jianmei zhang
162be5acbe set mutations_sync to 2 to wait for mutations to complete on all replicas 2022-07-26 16:10:00 +08:00
Vitaly Baranov
c0ec6fd913 Use Poco::Event to simplify code. 2022-07-26 09:53:32 +02:00
Vitaly Baranov
76599d1231 Finally fix locking storages for reading during backup. 2022-07-26 08:58:33 +02:00
Vitaly Baranov
4c98a7bc0f Add test for Ordinary database. 2022-07-26 08:46:51 +02:00
Alexey Milovidov
a2522d6196 Revert "Fix wrong REGEXP_REPLACE alias"
This reverts commit bb292b6aeb.
2022-07-26 08:00:49 +02:00
Alexey Milovidov
bb292b6aeb Fix wrong REGEXP_REPLACE alias 2022-07-26 07:59:58 +02:00
Azat Khuzhin
1d4a7c7290 Add support of !/* (exclamation/asterisk) in custom TLDs
Public suffix list may contain special characters (you may find format
here - [1]):
- asterisk (*)
- exclamation mark (!)

  [1]: https://github.com/publicsuffix/list/wiki/Format

It is easier to describe how it should be interpreted with an examples.

Consider the following part of the list:

    *.sch.uk
    *.kawasaki.jp
    !city.kawasaki.jp

And here are the results for `cutToFirstSignificantSubdomainCustom()`:

If you have only asterisk (*):

    foo.something.sheffield.sch.uk -> something.sheffield.sch.uk
    sheffield.sch.uk               -> sheffield.sch.uk

If you have exclamation mark (!) too:

    foo.kawasaki.jp                -> foo.kawasaki.jp
    foo.foo.kawasaki.jp            -> foo.foo.kawasaki.jp
    city.kawasaki.jp               -> city.kawasaki.jp
    some.city.kawasaki.jp          -> city.kawasaki.jp

TLDs had been verified wit the following script [2], to match with
python publicsuffix2 module.

  [2]: https://gist.github.com/azat/c1a7a9f1e3519793134ef4b1df5461a6

v2: fix StringHashTable padding requirements
Fixes: #39468
Follow-up for: #17748
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-26 08:34:30 +03:00
Azat Khuzhin
196b517e79 tests: add echo for 01601_custom_tld
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-26 08:34:30 +03:00
Alexey Milovidov
69e8e56072
Merge pull request #39578 from ClickHouse/fix-self-executable-leak
free compression and decompression contexts
2022-07-26 07:47:32 +03:00
Alexey Milovidov
71060a7e8c
Merge pull request #39501 from ClickHouse/DanRoscigno-patch-3
update Grafana plugin in docs
2022-07-26 07:04:22 +03:00
Alexey Milovidov
dadc0f3db1
Merge branch 'master' into disable_tests_with_materialized_postgres 2022-07-26 07:01:22 +03:00
Alexey Milovidov
62a069b9d8
Merge pull request #39571 from den-crane/patch-29
Doc. fix markup settings.md
2022-07-26 06:59:31 +03:00
Alexey Milovidov
c06e7b6615
Merge pull request #39576 from ClickHouse/auto/v22.3.9.19-lts
Update version_date.tsv after v22.3.9.19-lts
2022-07-26 06:58:50 +03:00
Alexey Milovidov
edef784253
Merge pull request #39579 from ClickHouse/auto/v22.6.4.35-stable
Update version_date.tsv and changelogs after v22.6.4.35-stable
2022-07-26 06:58:36 +03:00