Vitaly Baranov
72bff5242a
Merge pull request #37168 from vitlibar/backup-improvements-5
...
Backups Improvements 5
2022-05-16 21:25:54 +02:00
Azat Khuzhin
367daca584
Add a test for SYSTEM RELOAD CONFIG directly from the query context
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-16 16:22:58 +03:00
Azat Khuzhin
568e29ceb6
tests/integration/test_server_reload: add pylint hints
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-16 16:22:58 +03:00
Azat Khuzhin
b528a72e89
tests/integration/test_server_reload: add missing assertions
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-16 16:22:58 +03:00
Anton Ivashkin
191767d300
Reformat test file according to Check black
2022-05-16 12:35:21 +03:00
Vitaly Baranov
c1baad0763
Fix style.
2022-05-15 14:09:42 +02:00
alesapin
4e7e304e3d
Fix BLACK
2022-05-14 18:53:30 +02:00
alesapin
61014dbde6
Simlify strange test
2022-05-14 18:41:54 +02:00
alesapin
4540cf8925
Style check fixes
2022-05-14 13:46:47 +02:00
alesapin
cc304a3178
Merge branch 'master' into i_object_storage
2022-05-13 23:44:00 +02:00
Mikhail Artemenko
c14fae24c4
run black for python files
2022-05-13 16:55:42 +03:00
Azat Khuzhin
b0c72b6104
tests/integration: add prefix match for skipped tests
...
This way you can specify only file/module, or test name without
parameters.
Since, at least one, test that we care about
(test_distributed_respect_user_timeouts/test.py::test_reconnect) was not
runned sequentially [1].
[1]: https://s3.amazonaws.com/clickhouse-test-reports/37138/d7f5db4143c559bb8044058a653956945897e724/integration_tests__asan__actions__[2/3].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-13 11:19:11 +03:00
Azat Khuzhin
f886c4237e
tests/integration: fix possible race for iptables user rules inside containers
...
It is possible for network PartitionManager to work incorrectly, because
of how docker setting up forward to DOCKER-USER chain, it first removes
forward and then adds it back (see [1] and [2]), however this introduce
race for a short period of time, and this is enough for TCP to
retransmit packets, and breaks network PartitionManager.
[1]: b1e30e8328/libnetwork/iptables/iptables.go (L638)
[2]: b1e30e8328/libnetwork/firewall_linux.go (L42)
Here are some details from logs for [3]:
2022-04-27 03:01:00 [ 621 ] DEBUG : Executing query SELECT node FROM distributed_table ORDER BY node on node2 (cluster.py:2879, query_and_get_error)
[3]: https://s3.amazonaws.com/clickhouse-test-reports/36295/314d553ab14d30df7508814513506ec09c7c7061/integration_tests__asan__actions__[2/3]/integration_run_parallel1_0.log
This query fails, from the server logs:
2022.04.27 03:01:00.213101 [ 10 ] {19b1719f-8c39-4e3e-b782-aa4c933650f2} <Debug> executeQuery: (from 172.16.5.1:59008) SELECT node FROM distributed_table ORDER BY node
...
2022.04.27 03:01:03.578439 [ 223 ] {19b1719f-8c39-4e3e-b782-aa4c933650f2} <Debug> Connection (node1:9000): Sent data for 2 scalars, total 2 rows in 0.000284672 sec., 6993 rows/sec., 68.00 B (232.15 KiB/sec.), compressed 0.4594594594594595 times to 148.00 B (505.16 KiB/sec.)
2022.04.27 03:01:03.590637 [ 223 ] {19b1719f-8c39-4e3e-b782-aa4c933650f2} <Debug> MergingSortedTransform: Merge sorted 3 blocks, 2 rows in 3.371592744 sec., 0.5931914533744174 rows/sec., 94.61 B/sec
2022.04.27 03:01:03.601256 [ 10 ] {19b1719f-8c39-4e3e-b782-aa4c933650f2} <Information> executeQuery: Read 2 rows, 28.00 B in 3.387950542 sec., 0 rows/sec., 8.26 B/sec.
2022.04.27 03:01:03.601894 [ 10 ] {19b1719f-8c39-4e3e-b782-aa4c933650f2} <Debug> MemoryTracker: Peak memory usage (for query): 334.38 KiB.
And from docker daemon log:
time="2022-04-27T03:00:59.916693113Z" level=debug msg="form data: {\"AttachStderr\":true,\"AttachStdin\":false,\"AttachStdout\":true,\"Cmd\":[\"iptables\",\"--wait\",\"-I\",\"DOCKER-USER\",\"1\",\"-p\",\"tcp\",\"-s\",\"172.16.5.2\",\"-d\",\"172.16.5.3\",\"-j\",\"DROP\"],\"Container\":\"b75f3b68cda51386bfbb9cceb67e92c4d217a5a1660bde2470b583cb1f4c7fc4\",\"Privileged\":true,\"Tty\":false,\"User\":\"\"}"
time="2022-04-27T03:01:00.030654116Z" level=debug msg="form data: {\"AttachStderr\":true,\"AttachStdin\":false,\"AttachStdout\":true,\"Cmd\":[\"iptables\",\"--wait\",\"-I\",\"DOCKER-USER\",\"1\",\"-p\",\"tcp\",\"-s\",\"172.16.5.3\",\"-d\",\"172.16.5.2\",\"-j\",\"DROP\"],\"Container\":\"b75f3b68cda51386bfbb9cceb67e92c4d217a5a1660bde2470b583cb1f4c7fc4\",\"Privileged\":true,\"Tty\":false,\"User\":\"\"}"
...
time="2022-04-27T03:01:03.515813984Z" level=debug msg="/usr/sbin/iptables, [--wait -t filter -n -L DOCKER-USER]"
time="2022-04-27T03:01:03.531106486Z" level=debug msg="/usr/sbin/iptables, [--wait -t filter -C DOCKER-USER -j RETURN]"
time="2022-04-27T03:01:03.535442346Z" level=debug msg="/usr/sbin/iptables, [--wait -t filter -C FORWARD -j DOCKER-USER]"
time="2022-04-27T03:01:03.555856911Z" level=debug msg="/usr/sbin/iptables, [--wait -D FORWARD -j DOCKER-USER]"
time="2022-04-27T03:01:03.564905764Z" level=debug msg="/usr/sbin/iptables, [--wait -I FORWARD -j DOCKER-USER]"
...
time="2022-04-27T03:01:03.706374466Z" level=debug msg="form data: {\"AttachStderr\":true,\"AttachStdin\":false,\"AttachStdout\":true,\"Cmd\":[\"iptables\",\"--wait\",\"-D\",\"DOCKER-USER\",\"-p\",\"tcp\",\"-s\",\"172.16.5.3\",\"-d\",\"172.16.5.2\",\"-j\",\"DROP\"],\"Container\":\"b75f3b68cda51386bfbb9cceb67e92c4d217a5a1660bde2470b583cb1f4c7fc4\",\"Privileged\":true,\"Tty\":false,\"User\":\"\"}"
time="2022-04-27T03:01:03.968077970Z" level=debug msg="form data: {\"AttachStderr\":true,\"AttachStdin\":false,\"AttachStdout\":true,\"Cmd\":[\"iptables\",\"--wait\",\"-D\",\"DOCKER-USER\",\"-p\",\"tcp\",\"-s\",\"172.16.5.2\",\"-d\",\"172.16.5.3\",\"-j\",\"DROP\"],\"Container\":\"b75f3b68cda51386bfbb9cceb67e92c4d217a5a1660bde2470b583cb1f4c7fc4\",\"Privileged\":true,\"Tty\":false,\"User\":\"\"}"
I've tried multiple ways of fixing this:
- Creating separate chain for rules from PartitionManager (DOCKER-USER-CLICKHOUSE)
But it is created only once, and docker places new rules on top of the
FORWARD chain, so it will not work, since it will not receive any
packets
- Use DOCKER-USER, but replace iptables with a wrapper ([script]), that
will ignore recreating of a rule for forward to DOCKER-USER, but this
will not work too, since new docker rules will be created on top of
FORWARD chain, and so DOCKER-USER will packets.
[script]:
if [[ "$*" =~ "-D FORWARD -j DOCKER-USER" ]]; then
exit 0
fi
if [[ "$*" =~ "-I FORWARD -j DOCKER-USER" ]]; then
if iptables.real iptables -C FORWARD -j DOCKER-USER; then
exit 0
fi
fi
- And the only way to avoid flakiness for this case, is to forbid
parallel execution for tests with PartitionManager.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-13 10:57:24 +03:00
Azat Khuzhin
9899b3f92d
tests/integration: remove superfluous import of PartitionManager
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-13 10:57:24 +03:00
Azat Khuzhin
0fb9553e1c
tests/integration: use no-resolve and verbose for iptables --list
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-13 10:57:24 +03:00
Azat Khuzhin
5c1b0f3a76
tests/integration: add logging for NetworkManager
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-13 10:57:24 +03:00
Vitaly Baranov
23322b0bf6
Add async tests.
2022-05-12 19:42:05 +02:00
Mikhail Artemenko
12717f2417
fix <Breaking changes> in Meilisearch v0.27.0
2022-05-12 16:51:00 +03:00
Vitaly Baranov
2c92fe21a9
Implement restoring to a bigger or smaller cluster.
...
Remove backup settings allow_storing_multiple_replicas: now it's always allowed.
2022-05-12 14:55:06 +02:00
Vitaly Baranov
30005a1eff
BACKUP ON CLUSTER correctly collects data of a replicated table from all replicas now,
...
and if some part doesn't exist on either replica it's no problem anymore.
2022-05-12 13:33:42 +02:00
lgbo-ustc
5115fa8c6f
update test case tests/integration/test_hive_query/test.py
2022-05-12 09:32:21 +08:00
alesapin
5dcd25be23
Initial implementation
2022-05-12 00:04:54 +02:00
mergify[bot]
f4bae3969d
Merge branch 'master' into enable-overcommit-for-user
2022-05-11 20:04:20 +00:00
Dmitry Novik
17608b3d93
Update documentation and defaults for memory overcommit
2022-05-11 16:18:41 +00:00
Kruglov Pavel
af3db5a992
Merge pull request #36726 from PolyProgrammist/s3clustermacro
...
Handle cluster macro in s3Cluster table function
2022-05-11 18:00:57 +02:00
mergify[bot]
0e2a86dcee
Merge branch 'master' into MeiliSearch
2022-05-11 08:49:19 +00:00
Mikhail f. Shiryaev
d5b1e39bb9
Merge pull request #36866 from ClickHouse/integration-tests
...
Fix using proper image for integration tests; improve logging; fix docker volume cleaning in integration-tests-runner.
2022-05-11 10:46:51 +02:00
Mikhail f. Shiryaev
76c3022029
Fix code broken in 1e82b04de3
2022-05-10 17:41:47 +02:00
Anton Popov
aec30c4076
Merge pull request #37053 from CurtizJ/remove-streams-comments
...
Remove last mentions of data streams
2022-05-10 13:38:13 +02:00
alesapin
41737d66b0
Merge pull request #37014 from ClickHouse/better_delete_outdated_parts
...
Fix forgotten parts in cleanup thread
2022-05-10 12:34:34 +02:00
Alexander Tokmakov
1d711496c3
Merge pull request #37035 from ClickHouse/Avogar-patch-4
...
Fix flaky integration mongodb test
2022-05-10 11:50:26 +03:00
Anton Popov
e911900054
remove last mentions of data streams
2022-05-09 19:15:24 +00:00
alesapin
068214c829
Turn black
2022-05-09 19:03:17 +02:00
Anton Ivashkin
6a6505c224
Merge master
2022-05-09 17:21:34 +03:00
mergify[bot]
8ea87a3530
Merge branch 'master' into enable-memory-overcommit
2022-05-09 14:00:54 +00:00
alesapin
018ed10684
Add test
2022-05-09 15:21:21 +02:00
Alexander Tokmakov
b6be194d3a
Merge pull request #36976 from ClickHouse/replicated_database_fixes
...
Fixes for Replicated database
2022-05-09 14:41:49 +03:00
Kruglov Pavel
23bd9390a6
Merge pull request #36997 from vitlibar/users-without-assigned-policies-can-view-rows
...
Users without assigned row policies can view rows
2022-05-09 12:04:50 +02:00
Kruglov Pavel
31c56c95c8
Fix flaky integration mongodb test
2022-05-09 12:04:05 +02:00
Alexey Milovidov
3755466e8d
Merge pull request #34916 from nic11/pr/content-type
...
Support content_type in HTTP handler config
2022-05-08 16:36:21 +03:00
Vitaly Baranov
1b2eb4fe27
Use more clear syntax for BACKUP/RESTORE.
2022-05-08 10:37:02 +02:00
Vitaly Baranov
69bec2f377
Users without assigned row policies can view rows now.
2022-05-07 14:50:24 +02:00
Dmitry Novik
46fa87b14e
Fix tests
2022-05-06 16:46:54 +00:00
Alexander Tokmakov
c806869040
fix sync database replica
2022-05-06 18:37:20 +02:00
mergify[bot]
96fb6f7b92
Merge branch 'master' into fix-checks-in-tests
2022-05-05 15:43:27 +00:00
Vitaly Baranov
dd51265218
Merge pull request #36864 from vitlibar/backup-improvements-4
...
Backup improvements
2022-05-05 15:37:51 +02:00
tchepavel
e09a59ae39
Fix checking for rabbitmq liveness in tests
2022-05-05 15:25:42 +03:00
Alexander Gololobov
7e3a805ae3
Merge pull request #36572 from ClickHouse/fix-trash-s3-metrics
...
Everything related to S3 metrics was not good
2022-05-05 11:44:02 +02:00
mergify[bot]
e0fa563092
Merge branch 'master' into fix_exception_message
2022-05-04 15:56:03 +00:00
mergify[bot]
6ecddf4077
Merge branch 'master' into fix-trash-s3-metrics
2022-05-04 10:14:29 +00:00
Alexander Tokmakov
ea9c697348
disable broken tests
2022-05-04 11:45:36 +02:00
Alexander Gololobov
77f5bac0d5
Added missing event names
2022-05-03 20:39:44 +02:00
Vitaly Baranov
202dd864ed
Fix compilation.
2022-05-03 18:34:29 +02:00
Vitaly Baranov
484c2c9c4a
Use SYSTEM SYNC DATABASE REPLICA to make code better.
2022-05-03 16:59:41 +02:00
Vitaly Baranov
828f45f078
Add new restore setting 'allow_non_empty_tables'.
2022-05-03 16:18:45 +02:00
Alexander Gololobov
bf04e6beaf
Fix updating S3-related metrics after name changes
2022-05-03 13:06:12 +02:00
Maksim Kita
36d1c8238a
Merge pull request #36766 from kitaisreal/evaluate-constant-expression-fix
...
Fix evaluateConstantExpression for subqueries
2022-05-03 12:32:14 +02:00
Nikolai Kochetov
540fafbe74
Merge pull request #36856 from ClickHouse/repro-lc-and-s3
...
Reproduce and a little bit better fix for LC dict right offset.
2022-05-03 11:32:08 +02:00
Vitaly Baranov
b1295311c9
Fix crash when BACKUP & RESTORE are called without ON CLUSTER for replicated DB.
2022-05-03 11:01:44 +02:00
Nikolai Kochetov
b10decc987
Fix style and formatting.
2022-05-02 18:59:43 +00:00
Nikolai Kochetov
3d9b87af09
Reproduce and a little bit better fix for LC dict right offset.
2022-05-02 18:06:47 +00:00
Kruglov Pavel
d105be69e7
Fix check black
2022-05-02 14:55:17 +02:00
Anton Popov
d90caf76bb
Merge pull request #36739 from zhangyifan27/fix_groupBitmapState
...
fix `groupBitmapAndState` function on distributed table
2022-05-02 14:00:24 +02:00
Kruglov Pavel
aaf74914b0
Fix check black
2022-05-02 13:18:51 +02:00
Kruglov Pavel
8d647eff06
Merge pull request #36749 from Avogar/fix-timeouts
...
Fix bug in receive timeouts in Hedged requests
2022-05-02 13:16:03 +02:00
Alexey Milovidov
ef9633499c
Merge branch 'master' into fix-trash-s3-metrics
2022-05-02 03:55:10 +02:00
Mikhail Artemenko
cf48390cb9
Merge branch 'master' into MeiliSearch
2022-05-02 00:28:42 +03:00
Mikhail Artemenko
6830b74925
fix ref after merge & change runner dockerfile
2022-05-01 23:57:44 +03:00
Nikita Mikhaylov
93a65463d0
Added SYSTEM SYNC DATABASE
query ( #35944 )
2022-05-01 15:40:18 +02:00
Mikhail Artemenko
41f657d8ed
Merge branch 'master' into MeiliSearch
2022-05-01 10:01:56 +03:00
mergify[bot]
cc08ccb420
Merge branch 'master' into remove-useless-code-2
2022-04-30 12:48:15 +00:00
Maksim Kita
0e04c2cbc8
Fix style check
2022-04-29 11:16:20 +02:00
Alexey Milovidov
b81da324de
Merge pull request #36765 from ClickHouse/fix_flaky_test_non_leader_replica
...
Fix flaky test `test_ddl_worker_non_leader`
2022-04-29 11:18:49 +03:00
zhangyifan27
318212a929
reformat py
2022-04-29 11:00:54 +08:00
zhangyifan27
2257e57aa5
fix groupBitmapAndState on distributed table
2022-04-29 08:09:00 +08:00
Maksim Kita
55994afe0c
Fix evaluateConstantExpression for subqueries
2022-04-28 22:09:29 +02:00
Alexander Tokmakov
6797e7dc76
fix flaky test
2022-04-28 21:39:45 +02:00
Alexey Milovidov
d8fa806fca
Merge pull request #36360 from ClickHouse/optimize-asynchronous-metric-log
...
Optimize `system.asynchronous_metric_log`
2022-04-28 20:16:17 +03:00
alesapin
db9cb4cf09
Merge pull request #36736 from ClickHouse/keeper-id-guards
...
Add an extra check for RAFT config change
2022-04-28 18:22:39 +02:00
Vadim Volodin
233f0b4b52
Handle cluster macro in s3Cluster table function
2022-04-28 18:38:17 +03:00
mergify[bot]
d96c9c5cff
Merge branch 'master' into fix-timeouts
2022-04-28 15:03:19 +00:00
avogar
81f85892eb
Fix bug in receive timeouts in Hedged requests
2022-04-28 13:10:27 +00:00
alesapin
8f1a0f6625
Merge pull request #36258 from ClickHouse/keeper-recovery-mode
...
clickhouse-keeper support for force recovery
2022-04-28 11:20:59 +02:00
Antonio Andelic
44ff5f1697
Add some checks for endpoint change
2022-04-28 08:54:05 +00:00
Vitaly Baranov
641a5f5e35
Merge pull request #36198 from vitlibar/backup-improvements-3
...
Backup for replicated tables and other improvements
2022-04-28 09:23:53 +02:00
Alexey Milovidov
fa77778c3a
Fix "black"
2022-04-28 05:30:14 +02:00
Alexey Milovidov
de3a47c67a
Merge branch 'master' into optimize-asynchronous-metric-log
2022-04-28 05:03:57 +02:00
Antonio Andelic
3210d76300
Use correct nodes in test_keeper_znode_time
2022-04-27 11:29:27 +00:00
Vitaly Baranov
a8e924caf6
Make BACKUP & RESTORE synchronous by default.
2022-04-26 18:45:39 +02:00
Vitaly Baranov
a89ef54c69
Fix tests and compilation.
2022-04-26 13:32:23 +02:00
Vitaly Baranov
78bcb96098
Rename backup & restore setting 'async' -> 'sync', and make backup & restore async by default.
2022-04-26 09:51:19 +02:00
Antonio Andelic
cf022542bd
Merge branch 'master' into keeper-recovery-mode
2022-04-26 06:50:02 +00:00
mergify[bot]
4e82b56a8d
Merge branch 'master' into optimize-asynchronous-metric-log
2022-04-26 05:40:49 +00:00
alesapin
88f05ac14a
Fix black
2022-04-25 20:08:05 +02:00
mergify[bot]
e79de5a577
Merge branch 'master' into optimize-asynchronous-metric-log
2022-04-25 17:29:11 +00:00
mergify[bot]
fdc895462e
Merge branch 'master' into fix-trash-s3-metrics
2022-04-25 17:28:06 +00:00
alesapin
268cb29230
Disble test postgresql replica with asan
2022-04-25 16:37:50 +02:00
Vitaly Baranov
4de4fff590
Fix tests.
2022-04-25 16:34:34 +02:00
Vitaly Baranov
68a020ecea
Implement BACKUP/RESTORE ON CLUSTER.
2022-04-25 16:34:33 +02:00
Vitaly Baranov
ec5b89a6ac
Revert backup version 2. Add parameter data_file_path to handle duplicate files more easily without introducing a new backup format.
2022-04-25 16:34:33 +02:00
Vitaly Baranov
f14613f433
Implemented backup version 2: now files in backups are named by their checksums.
...
It will allow to store duplicate files only one time.
2022-04-25 16:34:33 +02:00
Vitaly Baranov
acd28d8a1d
Implement RESTORE for replicated tables.
2022-04-25 16:34:33 +02:00
Vitaly Baranov
d20b3d78c5
Rename some restore settings.
2022-04-25 16:34:17 +02:00
Kruglov Pavel
34c342fdd3
Merge pull request #36205 from Avogar/improve-globs
...
Some refactoring around schema inference with globs
2022-04-25 13:14:46 +02:00
Alexey Milovidov
52dc76eb28
Merge pull request #36433 from PolyProgrammist/integration-tests-notion
...
Notion for integration tests to build with ENABLE_CLICKHOUSE_ALL=ON
2022-04-25 01:23:14 +03:00
Alexey Milovidov
5ce6f0aae0
Fix test
2022-04-25 00:08:26 +02:00
Alexey Milovidov
f51e137a2d
Update test.py
2022-04-24 22:39:06 +03:00
Alexey Milovidov
7a34dfef6e
Update test
2022-04-24 08:43:49 +02:00
Alexey Milovidov
da1b0b491f
Merge pull request #36487 from FArthur-cmd/fix_certificates
...
Add passphrase for certificates
2022-04-24 04:58:21 +03:00
alesapin
f0f92341e0
Merge pull request #36492 from ClickHouse/fix-keeper-hostname-check
...
Fix hostname checks in clickhouse-keeper
2022-04-23 13:54:57 +02:00
alesapin
7380a71333
Merge pull request #31833 from ClickHouse/musl-check
...
Build clickhouse-keeper with Musl
2022-04-22 22:41:16 +02:00
Alexander Tokmakov
b16faab477
fix configs
2022-04-22 15:37:14 +02:00
Antonio Andelic
4e389d8df1
Rename to hostname, add tests
2022-04-22 08:16:14 +00:00
FArthur-cmd
72efd079c6
fix check_black
2022-04-21 12:57:05 +00:00
FArthur-cmd
7d1b3f84d0
fix check_black
2022-04-21 12:48:00 +00:00
Antonio Andelic
03779fd463
Merge branch 'master' into keeper-recovery-mode
2022-04-21 12:34:18 +00:00
FArthur-cmd
f0a4009f60
Add passphrase for certificates
2022-04-21 12:26:30 +00:00
mergify[bot]
1ba1cad5cf
Merge branch 'master' into improve-globs
2022-04-21 11:52:13 +00:00
Kseniia Sumarokova
842879beea
Merge pull request #36272 from kssenii/mongo-fix
...
Allow missing columns for mongo storage
2022-04-20 17:54:35 +02:00
Kruglov Pavel
3916436a10
Fix style
2022-04-20 16:35:24 +02:00
Kruglov Pavel
6ddebf7d38
Fix style
2022-04-20 16:34:05 +02:00
Kruglov Pavel
813e228fcc
Merge branch 'master' into improve-globs
2022-04-20 16:31:47 +02:00
Antonio Andelic
6c95a2c195
Wait for node1 to connect
2022-04-20 10:35:35 +00:00
alesapin
ba81816dc1
Better cmake
2022-04-20 12:11:55 +02:00
kssenii
b1d699aea1
Fix test
2022-04-20 11:24:59 +02:00
tavplubix
2c54381520
Merge pull request #36200 from ClickHouse/fix_create_as_replicated_default_args
...
Fix CREATE AS for ReplicatedMergeTree with default arguments
2022-04-20 12:01:13 +03:00
Antonio Andelic
bb0d941add
Run tests on a single cluster
2022-04-20 08:06:17 +00:00
Vadim Volodin
1bffa4e80d
Notion for integration tests to build as a whole
2022-04-19 21:25:57 +03:00
Vadim Volodin
97c9ac0531
Fix docs for integration tests ( #36426 )
2022-04-19 19:42:43 +02:00
mergify[bot]
d894aed7ae
Merge branch 'master' into mongo-fix
2022-04-19 09:32:51 +00:00
Antonio Andelic
608c0996d0
Fix tests
2022-04-19 08:59:44 +00:00
Antonio Andelic
cd548aeb30
Refactor test for multiple cluster size
2022-04-19 08:08:36 +00:00
Antonio Andelic
c968353ee9
Define tests for 3 node cluster
2022-04-19 08:08:35 +00:00
alesapin
5802b67c2a
Merge pull request #36257 from ClickHouse/fix_integration_tests_parser_bug
...
Fix integration tests report parser
2022-04-18 11:41:34 +02:00
Alexey Milovidov
56df9bbc0d
Update test.py
2022-04-18 02:59:31 +03:00
Alexey Milovidov
1959ae2c9e
Fix integration tests
2022-04-18 01:00:18 +02:00
Alexey Milovidov
19a8207ab7
Debug integration tests
2022-04-18 00:16:53 +02:00
kssenii
d8e2d693e5
Allow missing columns for mongo storage
2022-04-14 19:31:07 +02:00
Alexander Tokmakov
1e061ac39e
fix formatting
2022-04-14 15:31:49 +02:00
alesapin
c74b6c547b
Black
2022-04-14 14:40:56 +02:00
alesapin
428753a4a7
Fix integration tests parser
2022-04-14 14:39:36 +02:00
Kruglov Pavel
0bae44abf0
Merge pull request #36209 from Avogar/check-magic-bytes
...
Check ORC/Parquet/Arrow format magic bytes before loading file in memory
2022-04-14 11:32:38 +02:00
avogar
ca14a29dbe
Revert reverting "Fix crash in ParallelReadBuffer"
2022-04-13 20:39:12 +00:00
tavplubix
b2cd23658a
Revert "Fix crash in ParallelReadBuffer"
2022-04-13 22:45:34 +03:00
avogar
42726639f3
Check ORC/Parquet/Arrow format magic bytes before loading file in memory
2022-04-13 19:27:38 +00:00
avogar
1c065f8c7a
Some refactoring around schema inference with globs
2022-04-13 17:02:48 +00:00
Alexander Tokmakov
40fea2b833
do not unfold {uuid} macro
2022-04-13 16:51:59 +02:00
Alexander Tokmakov
f2c4f88295
avoid moving replicated tables to Ordinary db
2022-04-13 14:38:20 +02:00
Mikhail Artemenko
2fd86cc564
Merge branch 'master' into MeiliSearch
2022-04-13 12:05:46 +03:00
avogar
de9c9462e5
Fix crash in ParallelReadBuffer
2022-04-12 13:54:53 +00:00
tavplubix
090506a572
Merge pull request #36161 from ClickHouse/fix_mongo_test
...
Fix mongodb test with new cert
2022-04-12 15:48:08 +03:00
alesapin
8f822af358
Fix mongodb test with new cert
2022-04-12 11:47:22 +02:00
Nikolay Degterinsky
3547e3a376
Merge pull request #35978 from nic11/pr/runner-typo
...
Remove arg duplication and fix a typo
2022-04-12 11:45:52 +02:00
Kruglov Pavel
972357ebf6
Merge pull request #35748 from bigo-sg/s3_cluster_join
...
Fixed : elimate AMBIGUOUS_COLUMN_NAME exception in hdfs/s3 cluster join query
2022-04-11 16:22:53 +02:00
Nikolai Kochetov
ac74757f92
Merge pull request #35973 from filimonov/kafka_read_consumers_in_parallel
...
Make parallel reading from several kafka consumers work again
2022-04-11 15:30:52 +02:00
Roman Nikonov
daceac5c0b
Merge branch 'master' into pr/content-type
2022-04-10 01:21:28 +03:00
Roman Nikonov
7cd46bf2cb
Merge branch 'master' into pr/runner-typo
2022-04-10 01:20:46 +03:00
tavplubix
faae540a85
Merge pull request #24258 from ClickHouse/mvcc_prototype
...
MVCC prototype for MergeTree
2022-04-08 22:02:13 +03:00
Kseniia Sumarokova
1e54c5c57b
Merge pull request #35885 from kssenii/fix-postgres-test-2
...
fix postgres test
2022-04-08 19:55:05 +02:00
kssenii
fc3e3251b9
Fix
2022-04-08 13:50:24 +02:00
Alexander Tokmakov
141fbc6980
Merge branch 'master' into mvcc_prototype
2022-04-08 13:38:11 +02:00
lgbo-ustc
759e4a9a05
Merge remote-tracking branch 'ck/master' into s3_cluster_join
2022-04-08 09:25:30 +08:00
Azat Khuzhin
c5ffbc688e
Do not allow SETTINGS after FORMAT for INSERT queries
...
Parsing SETTINGS after FORMAT, that has been introduced in [1], can
interpret SETTING as some values, which is misleading.
[1]: https://github.com/ClickHouse/ClickHouse/pull/4174/files#diff-ba7bd0657630b1cd94cf6ed364bd857338096f49f66dc82918438d6745753775R106
Note, that we are touching only INSERT queries, not SELECT, since this
is a backward incompatible change, and in case of modifying SELECT it
can break too much.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Fixes : #35100
Fixes : #20343
2022-04-07 16:29:36 +03:00
Alexander Tokmakov
7f54e7b422
Merge branch 'master' into mvcc_prototype
2022-04-07 15:14:06 +02:00
Nikolai Kochetov
ebfdadd6f8
Fix firmatting.
2022-04-07 12:05:21 +00:00
Alexander Tokmakov
8290ffa88d
Merge branch 'master' into mvcc_prototype
2022-04-07 13:50:42 +02:00
Kseniia Sumarokova
18a594a22e
Merge pull request #34631 from bigo-sg/use_minmax_index
...
Use minmax index for orc/parquet file in Hive Engine
2022-04-07 12:22:19 +02:00
tavplubix
6e9c028bbb
Merge pull request #35956 from Algunenano/limit_dns_retries
...
DNS cache: Add option to drop elements after several consecutive failures
2022-04-07 13:20:36 +03:00
Nikolai Kochetov
3e1b3f14c0
Merge pull request #34355 from azat/processors-profiling
...
Profiling on Processors level
2022-04-07 12:13:14 +02:00
lgbo-ustc
dbdc632243
fixed code style
2022-04-07 18:11:49 +08:00
taiyang-li
2ef316801c
Merge branch 'master' into use_minmax_index
2022-04-07 10:53:25 +08:00
mergify[bot]
585cff1e95
Merge branch 'master' into limit_dns_retries
2022-04-06 18:23:17 +00:00
tavplubix
00137eaa34
Update test.py
2022-04-06 19:13:56 +03:00
Mikhail Artemenko
151eeb1a27
Merge branch 'master' into MeiliSearch
2022-04-06 17:07:55 +03:00
taiyang-li
59e47472f1
fix integration tests
2022-04-06 20:51:31 +08:00
taiyang-li
acbd11ccbc
add integration tests
2022-04-06 18:59:17 +08:00
taiyang-li
5d8a1a4465
add integration tests
2022-04-06 18:50:39 +08:00
kssenii
06ff47f72f
Add drops
2022-04-06 10:36:54 +02:00
Kseniia Sumarokova
0e1637dfaf
Merge pull request #35354 from kssenii/enable-testmode-by-default
...
Remove testmode option, enable it unconditionally
2022-04-06 10:06:08 +02:00
Alexey Milovidov
bad2e9dc06
Merge pull request #35936 from DevTeamBK/MARIANA-62
...
Move credentials for integration tests into a separate file (The ticket name in IBM's JIRA is MARIANA-62)
2022-04-06 03:27:27 +03:00
Kseniia Sumarokova
f4bfa0fea3
Update test.py
2022-04-06 02:13:22 +02:00
Roman Nikonov
a34d9f9cc3
Remove arg duplication and fix a typo
2022-04-06 02:40:56 +03:00
Azat Khuzhin
acd48ebe2d
Disable processors_profile_log for test_input_format_parallel_parsing_memory_tracking
...
This should fix memory usage, like in [1].
[1]: https://s3.amazonaws.com/clickhouse-test-reports/34355/e5a837e574fac93e01d985f55d069fe522abc182/integration_tests__thread__actions__[3/4].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-05 23:23:05 +03:00
Mikhail Filimonov
f9a4cd12d4
Make parallel reading of kafka consumers work again (issue #35153 )
2022-04-05 21:46:56 +02:00
LAL2211
acaeaf2842
black check formatted
2022-04-05 12:46:54 -04:00
Raúl Marín
dce0c9f059
Python format
2022-04-05 17:19:56 +02:00
Raúl Marín
8a05cf3927
DNS cache: Add option to drop elements after several consecutive failures
2022-04-05 13:00:27 +02:00
kssenii
4bfac4ec99
Remove more testmode mentions
2022-04-05 12:17:34 +02:00
Mikhail Artemenko
49236c691e
replace curl with Poco::Net
2022-04-04 23:27:39 +03:00
LAL2211
3ecdad9d4b
updated
2022-04-04 14:49:30 -04:00
LAL2211
0340932d57
updated hard coded/ default credentials
2022-04-04 14:35:21 -04:00
Alexander Tokmakov
a2167f12b8
Merge branch 'master' into mvcc_prototype
2022-04-04 14:24:23 +02:00
mergify[bot]
2251df4582
Merge branch 'master' into fix-postgres-test-2
2022-04-03 22:06:52 +00:00
Roman Nikonov
d81a8cd317
Merge branch 'master' into pr/content-type
2022-04-03 20:53:51 +03:00
kssenii
93fc604223
Fix
2022-04-03 18:39:14 +02:00
Alexey Milovidov
5a47958744
Merge pull request #35736 from CurtizJ/quota-written-bytes
...
Add quota for written bytes
2022-04-03 05:26:49 +03:00
Anton Popov
687942ce70
more strict quota for written bytes
2022-04-01 15:02:49 +00:00
Alexander Tokmakov
6591d1ceb7
Merge branch 'master' into mvcc_prototype
2022-04-01 15:38:46 +02:00
alesapin
87b15d350f
Merge pull request #35808 from ClickHouse/fix_some_integration_tests
...
Try to fix some integration tests
2022-04-01 10:44:49 +02:00
Alexey Milovidov
5c6b84c398
Merge pull request #35586 from kssenii/fix-virtual-columns-s3
...
Fix s3 engine getting virtual columns
2022-04-01 04:43:32 +03:00
Alexander Tokmakov
418070c012
try to fix some integration tests
2022-03-31 15:56:07 +02:00
Alexander Tokmakov
5a50ad9de3
Merge branch 'master' into mvcc_prototype
2022-03-31 11:35:04 +02:00
kssenii
f17a320635
Fix test
2022-03-31 11:13:38 +02:00
lgbo-ustc
d0e5b3571c
fixed code style
2022-03-31 09:28:07 +08:00
Dmitry Novik
597c1a6523
Merge pull request #35719 from ClickHouse/memory-overcommit-test-fix
...
Try to fix test_global_overcommit_tracker flakyness
2022-03-30 18:15:40 +02:00
kssenii
d810853b78
Fix path in test
2022-03-30 17:35:59 +02:00
kssenii
099fa0e668
Merge master
2022-03-30 17:33:32 +02:00
Kruglov Pavel
771f34d793
Merge pull request #35691 from Avogar/fix-matview
...
Fix creating materialized view with subquery after server restart
2022-03-30 14:57:14 +02:00
lgbo-ustc
08e1fdc6b8
Fixed :a elimate AMBIGUOUS_COLUMN_NAME exception
...
elimate AMBIGUOUS_COLUMN_NAME exception in hdfs/s3 cluster when run a query with join
2022-03-30 17:06:38 +08:00
Antonio Andelic
03a09dc914
Merge pull request #35571 from ClickHouse/parallel-s3-downloading
...
Parallel S3 downloading
2022-03-30 08:14:49 +02:00
Alexander Tokmakov
287d858fda
Merge branch 'master' into mvcc_prototype
2022-03-29 16:24:12 +02:00
Antonio Andelic
c9feb7f751
Format test file
2022-03-29 13:40:14 +00:00
Dmitry Novik
0cc9c82124
Try to fix test_global_overcommit_tracker flakyness
2022-03-29 13:09:37 +00:00
tavplubix
3246261da8
Fix logging in test_distributed_respect_user_timeouts
( #35575 )
...
* Update test.py
* Update test.py
* Update test.py
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-29 15:43:42 +03:00
Kruglov Pavel
fe60560c03
Merge pull request #35619 from Avogar/check-remote-url-allow-hosts
...
Check remote_url_allow_hosts before schema inference in URL engine
2022-03-29 14:08:02 +02:00
Kruglov Pavel
a2aab8ffac
Fix test
2022-03-29 14:07:19 +02:00
Anton Popov
d42632dc13
Merge pull request #32928 from bigo-sg/rocksdb_metacache
...
Speed up parts loading process of MergeTree by metadata cache
2022-03-29 14:05:22 +02:00
Ilya Yatsishin
45babe48bc
Merge pull request #35543 from qoega/azure-integration-test-better
...
Slightly better integration tests: test_backup_with_other_granularity test_azure_blob_storage_zero_copy_replication
2022-03-29 13:58:31 +02:00
taiyang-li
834ac3a1b9
Merge remote-tracking branch 'ck/master' into rocksdb_metacache
2022-03-29 18:32:06 +08:00
Antonio Andelic
362e877529
Merge branch 'master' into parallel-s3-downloading
2022-03-29 07:05:26 +00:00
taiyang-li
ddd5bebe55
fix integration test
2022-03-29 11:53:51 +08:00
kssenii
c6b1f86306
Merge with master
2022-03-29 02:03:28 +02:00
Nikita Mikhaylov
85282f1b4d
Made schema inference work with s3Cluster
table function ( #35544 )
2022-03-29 00:46:35 +02:00
kssenii
1d49a85963
Merge master
2022-03-28 22:51:56 +02:00
kssenii
a2013ebe2b
Better
2022-03-28 22:40:27 +02:00
Kruglov Pavel
c066593595
Update test.py
2022-03-28 22:02:28 +02:00
avogar
36ea9ef11f
Fix creating materialized view with subquery after server restart
2022-03-28 19:52:10 +00:00
alesapin
f9c1a44cae
Fix black
2022-03-28 21:32:53 +02:00
Alexander Tokmakov
4baccf9d81
fix formatting
2022-03-28 20:24:18 +02:00
Alexander Tokmakov
208b242188
Merge branch 'master' into mvcc_prototype
2022-03-28 19:58:06 +02:00
Kruglov Pavel
933eaeae94
Fix black test
2022-03-28 16:26:20 +02:00
taiyang-li
38702be40c
Merge remote-tracking branch 'ck/master' into rocksdb_metacache
2022-03-28 21:03:22 +08:00
mergify[bot]
b928d8391e
Merge branch 'master' into azure-integration-test-better
2022-03-28 09:51:35 +00:00
Mikhail Artemenko
1886d9c2ea
refactor parseTypeOfField & fix tests
2022-03-27 23:00:28 +03:00
kssenii
c6706b8bfa
Better
2022-03-25 19:30:13 +01:00
avogar
ecc57b436c
Check remote_url_allow_hosts before schema inference in URL engine
2022-03-25 13:30:45 +00:00
Antonio Andelic
394682b983
Merge branch 'master' into parallel-s3-downloading
2022-03-25 13:00:44 +00:00
kssenii
edf0436f5c
Fix style check
2022-03-25 10:14:14 +01:00
tavplubix
805220e658
Merge pull request #35574 from ClickHouse/tavplubix-patch-2
...
Fix test `test_s3_zero_copy_replication`
2022-03-24 23:50:46 +03:00
tavplubix
d910357e69
Update test.py
2022-03-24 20:25:16 +03:00
kssenii
e91e30aaa4
Fix
2022-03-24 17:10:27 +01:00
Alexey Milovidov
31420615c0
Merge pull request #35553 from ClickHouse/kostik-consistent-hash
...
Rename `yandexConsistentHash` to `kostikConsistentHash`
2022-03-24 17:56:59 +03:00
tavplubix
7b96d61057
Merge pull request #35478 from ClickHouse/merging_30325
...
Merging #30325
2022-03-24 14:53:20 +03:00
Alexander Tokmakov
4ad4d4b38c
apply formatter
2022-03-24 12:23:14 +01:00
mergify[bot]
d782aef36f
Merge branch 'master' into azure-integration-test-better
2022-03-24 11:18:02 +00:00
tavplubix
b3c021ec97
Update test.py
2022-03-24 13:53:06 +03:00
Antonio Andelic
62a495a5fc
Small refactor
2022-03-24 09:45:30 +00:00
Antonio Andelic
e0d7b6dc3e
Add tests for S3 multithreaded download
2022-03-24 09:30:06 +00:00
taiyang-li
db34ca57c2
reformat test.py
2022-03-24 14:58:45 +08:00
Alexey Milovidov
d54138425f
Rename yandexConsistentHash to kostikConsistentHash
2022-03-24 02:18:25 +01:00
Maksim Kita
97b5cb96f2
Fixed style check
2022-03-23 20:41:28 +01:00
Alexander Tokmakov
9aed0507b7
Merge branch 'master' into mvcc_prototype
2022-03-23 18:07:22 +01:00
Alexander Tokmakov
3c6a10237c
Merge branch 'master' into merging_30325
2022-03-23 18:07:04 +01:00
Yatsishin Ilya
abd587cb23
Better tests
2022-03-23 16:17:44 +00:00
Maksim Kita
da235f9cda
Merge pull request #34536 from kitaisreal/system-log-tables-comment-fix
...
System log tables allow to specify COMMENT in ENGINE declaration
2022-03-23 15:06:05 +01:00
ianton-ru
32c6390400
Merge branch 'master' into MDB-16962
2022-03-23 16:53:30 +03:00
Anton Ivashkin
66c026d0ac
Fix collision of S3 operation log revision
2022-03-23 16:48:05 +03:00
Alexander Tokmakov
cd058699e9
fix test
2022-03-23 13:39:07 +01:00
Alexander Tokmakov
94d32c6b80
Merge branch 'master' into merging_30325
2022-03-23 11:58:57 +01:00
Alexander Tokmakov
bcec53aadc
Merge branch 'master' into mvcc_prototype
2022-03-23 11:28:43 +01:00
Antonio Andelic
9829f2d051
Merge branch 'master' into parallel-downloading-url-engine
2022-03-23 07:41:14 +00:00
taiyang-li
8dbf1c60e7
merge master and fix conflict
2022-03-23 11:36:50 +08:00
Maksim Kita
1a096a87da
Added support for SystemLog to specify COMMENT in ENGINE section
2022-03-22 22:44:46 +01:00
Alexander Tokmakov
7e904ac789
more logs
2022-03-22 19:05:37 +01:00
Mikhail f. Shiryaev
e6f5a3f98b
Apply black formatter to all *.py files in the repo
2022-03-22 17:39:58 +01:00
Vladimir C
ac6fef5c70
Merge pull request #35124 from vdimir/ci-bugfix-validation
2022-03-22 17:34:15 +01:00
Alexander Tokmakov
bc5a689899
add debug logging
2022-03-22 15:34:20 +01:00
Antonio Andelic
5da3058368
Merge branch 'master' into parallel-downloading-url-engine
2022-03-22 12:20:36 +00:00
Antonio Andelic
246c66bf3e
Merge pull request #35393 from bigo-sg/hive_column_pruning_bug
...
Fix erasing nonexistent column
2022-03-22 08:59:33 +01:00
Alexander Tokmakov
3c762f566d
Merge branch 'master' into mvcc_prototype
2022-03-21 20:16:29 +01:00
Alexander Tokmakov
3cca5fb181
minor fixes
2022-03-21 15:55:01 +01:00
Alexander Tokmakov
d0217a0025
make tests more compact
2022-03-21 14:22:15 +01:00
Alexander Tokmakov
94f616b48e
Merge branch 'master' into merging_30325
2022-03-21 13:23:45 +01:00
lgbo-ustc
967d5a8055
Merge remote-tracking branch 'ck/master' into hive_column_pruning_bug
2022-03-21 19:52:06 +08:00
Vitaly Baranov
7a46e7a0d1
Merge branch 'master' into improve-backup-and-restore
2022-03-21 11:49:26 +01:00
Vitaly Baranov
51fc556fcd
Implement BACKUP and RESTORE for MatViews.
2022-03-21 11:45:21 +01:00
Antonio Andelic
b8c43ff2f2
Merge branch 'master' into parallel-downloading-url-engine
2022-03-21 09:11:01 +00:00
Alexey Milovidov
0ce4696c49
Revert "[WIP] New row policies"
2022-03-21 08:41:33 +03:00
Alexander Tokmakov
9e05b12d2c
Merge branch 'master' into mvcc_prototype
2022-03-20 22:42:26 +01:00
Vitaly Baranov
18173d71fb
A corresponding file in base backup can be searched by checksum too, not only by name.
2022-03-20 20:02:15 +01:00
Vitaly Baranov
5f195d6ead
Implement writing backups as zip archive.
2022-03-20 20:02:15 +01:00
Vitaly Baranov
e72a343994
Implement BACKUP & RESTORE for the Memory table engine.
2022-03-20 20:02:15 +01:00
Vitaly Baranov
fd1d24f624
Add settings "throw_if_database_exists" and "throw_if_table_exists".
2022-03-20 20:02:15 +01:00
Vitaly Baranov
9fb50422ce
Merge pull request #35345 from vitlibar/new-row-policies
...
[WIP] New row policies
2022-03-20 20:00:25 +01:00
Vitaly Baranov
afe6a1003a
Add new row policy kind: simple
2022-03-20 17:34:59 +01:00
alesapin
2484a63d00
Merge pull request #35431 from ClickHouse/rename_list_option
...
Rename some variables in keeper
2022-03-20 15:25:04 +01:00
alesapin
1da0f11496
Merge pull request #35428 from zhangyuli1/fix_test_keeper_back_to_back_duplicate
...
Fix test_keeper_back_to_back duplicate error
2022-03-19 22:00:35 +01:00
alesapin
ac3c607ed4
Merge branch 'master' into rename_list_option
2022-03-19 20:16:57 +01:00
zhangyuli1
152b949adf
fix duplicate error
2022-03-20 00:42:16 +08:00
alesapin
95ca06f4e2
Fix names
2022-03-19 17:41:52 +01:00
vdimir
2551adc416
Bugfix validate meta check
2022-03-18 16:31:19 +01:00
kssenii
1b06a2033e
Support uuid
2022-03-18 12:24:50 +01:00
Vitaly Baranov
98e48d7b54
SHOW CREATE ROW POLICY now always shows AS permissive/restrictive if there is TO section.
2022-03-17 15:28:53 +01:00
Vitaly Baranov
470582e262
Change type of RowPolicyKind: bool -> enum.
2022-03-17 15:28:05 +01:00
Alexander Tokmakov
d04dc03fa4
Merge branch 'master' into mvcc_prototype
2022-03-17 15:24:32 +01:00
alesapin
bf5b3a856d
Rename some variables in keeper
2022-03-17 11:55:15 +01:00
Antonio Andelic
103a3fa140
Merge branch 'master' into parallel-downloading-url-engine
2022-03-17 10:11:58 +00:00
Antonio Andelic
cc623bbf5e
Fix redirect_url tests
2022-03-17 08:03:22 +00:00
Anton Popov
de2cc23e15
fix race
2022-03-16 20:16:59 +00:00
Alexander Tokmakov
4b3e13a4fe
Merge branch 'master' into mvcc_prototype
2022-03-16 21:06:19 +01:00