Commit Graph

88 Commits

Author SHA1 Message Date
Alexander Tokmakov
208f32328c
Update tests/integration/test_replicated_database/test.py
Co-authored-by: Raúl Marín <git@rmr.ninja>
2024-06-12 16:56:09 +02:00
Alexander Tokmakov
5bfca13a4c
Update test.py 2024-06-11 18:04:38 +02:00
Alexander Tokmakov
553fcb5e06
Update test.py 2024-06-04 20:05:58 +02:00
Alexander Tokmakov
d2184fd2a2
Update test.py 2024-06-03 20:51:09 +02:00
Alexander Tokmakov
ef3b802b4e add test 2024-05-29 00:02:39 +02:00
Alexander Tokmakov
d9d6950965
Merge pull request #63549 from ClickHouse/rdb_auto_recovery
Automatically recover Replicated database if the queue got stuck
2024-05-16 22:48:58 +00:00
Alexander Tokmakov
7ad87c80f3
Update test.py 2024-05-14 17:22:36 +02:00
Alexander Tokmakov
997f2742d7 fix test 2024-05-13 15:46:25 +02:00
Nikolai Kochetov
e59a515f1b Add a test with Nested and replicated database. 2024-05-13 13:23:41 +00:00
Alexander Tokmakov
db8079768a automatically recover Replicated database if the queue got stuck 2024-05-09 00:00:51 +02:00
Alexander Tokmakov
02d5c4625f Merge branch 'master' into fix_rdb_active 2024-03-19 21:09:07 +01:00
robot-clickhouse
babe000036 Automatic style fix 2024-03-08 16:43:10 +00:00
Alexander Tokmakov
e2317477f7 fix removing is_active node after re-creation 2024-03-08 17:30:29 +01:00
robot-clickhouse
8be4a115ac Automatic style fix 2024-03-04 19:22:18 +00:00
Alexander Tokmakov
bf91fe8bae fix 2024-03-04 20:06:46 +01:00
serxa
0badcffdc1 test: table metadata load failure should shutdowns the server properly 2024-01-24 12:01:32 +00:00
Alexander Tokmakov
38b85e6409
Merge pull request #58649 from azat/tests/test_replicated_database
Fix test_replicated_database::test_startup_without_zk flakiness
2024-01-16 21:08:33 +01:00
Azat Khuzhin
2cf74aea5c Fix test_replicated_database::test_startup_without_zk flakiness
CI founds [1]

    E           assert 'ZooKeeper' in "Received exception from server (version 24.1.1):\nCode: 999. DB::Exception: Received from 172.16.1.6:9000. Coordination::Exception. Coordination::Exception: Coordination error: Connection loss, path /clickhouse/databases/startup. Stack trace:\n\n0. ? @ 0x000000000c734f1b in /usr/bin/clickhouse\n1. ? @ 0x000000000fbef3f4 in /usr/bin/clickhouse\n2. ? @ 0x000000000fbeebc8 in /usr/bin/clickhouse\n3. ? @ 0x0000000012ded0f9 in /usr/bin/clickhouse\n4. ? @ 0x0000000012deaa71 in /usr/bin/clickhouse\n5. ? @ 0x00000000107e51e8 in /usr/bin/clickhouse\n6. ? @ 0x00000000107eb87a in /usr/bin/clickhouse\n7. ? @ 0x0000000011213ec3 in /usr/bin/clickhouse\n8. ? @ 0x00000000111e9acf in /usr/bin/clickhouse\n9. ? @ 0x000000001120e85e in /usr/bin/clickhouse\n10. ? @ 0x000000001174f0a2 in /usr/bin/clickhouse\n11. ? @ 0x0000000011748c9a in /usr/bin/clickhouse\n12. ? @ 0x00000000126fb5a9 in /usr/bin/clickhouse\n13. ? @ 0x00000000127130f9 in /usr/bin/clickhouse\n14. ? @ 0x000000001517bf12 in /usr/bin/clickhouse\n15. ? @ 0x000000001517cd11 in /usr/bin/clickhouse\n16. ? @ 0x00000000152740c7 in /usr/bin/clickhouse\n17. ? @ 0x00000000152726bc in /usr/bin/clickhouse\n18. ? @ 0x00007f7f36485ac3\n19. ? @ 0x00007f7f36517660\n. (KEEPER_EXCEPTION)\n(query: CREATE DATABASE startup ENGINE = Replicated('/clickhouse/databases/startup', 'shard1', 'replica1');)\n"

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/58610/441a3fbb9b1c088f528841727f013b829f63fc8a/integration_tests__release__[3_4]/integration_run_test_replicated_database_test_py_0.log

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-01-10 14:44:29 +03:00
Alexander Tokmakov
b954667ae9
Update test.py 2024-01-10 11:07:13 +01:00
Alexander Tokmakov
bfc10bd234 an option to avoid waiting for inactive Replicated db replicas 2023-12-29 15:19:16 +01:00
alesapin
17ac9e3409 Fix test 2023-11-30 19:42:12 +01:00
Antonio Andelic
9707796869 Ignore comments when comparing column descriptions 2023-11-27 12:25:41 +00:00
Alexander Tokmakov
1916aec2e2 add trash for Replicated database 2023-08-14 20:49:06 +02:00
Michael Kolupaev
65d3778b03 Fix warning in test_replicated_database 2023-08-09 23:40:08 +00:00
Alexander Tokmakov
48ed54e822
Allow experimantal features when recovering Replicated db replica (#53167)
* allow experimantal features when recovering Replicated db replica

* Automatic style fix

---------

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2023-08-09 14:35:50 +03:00
robot-clickhouse
70543e8ef9 Automatic style fix 2023-07-19 08:47:53 +00:00
Michael Kolupaev
a86baab88b Fix test_replicated_database 'node doesn't exist' flakiness 2023-07-19 08:28:04 +00:00
robot-clickhouse
ccb42d0afa Automatic style fix 2023-06-22 17:26:42 +00:00
Alexander Tokmakov
8afb8bf13a disable table structure check for secondary queries from Replicated db 2023-06-22 19:06:28 +02:00
Alexander Tokmakov
75f18b1198
Revert "Check simple dictionary key is native unsigned integer" 2023-04-13 01:32:19 +03:00
lzydmxy
b88fef12de update Failed tests 2023-04-07 23:57:08 +08:00
robot-clickhouse
fdcbec4fee Automatic style fix 2023-03-02 17:35:56 +00:00
Alexander Tokmakov
fc8ea01c2b use unique names and paths in test_replicated_database 2023-03-02 18:23:31 +01:00
robot-clickhouse
54336f7c98 Automatic style fix 2023-03-01 20:12:00 +00:00
Alexander Gololobov
f64d08bd5c Enable lightweight delete support by default 2023-03-01 19:35:55 +01:00
robot-clickhouse
a32818a32e Automatic style fix 2023-01-31 14:35:08 +00:00
Alexander Gololobov
51fdcb7ffd Test DELETE FROM on replicated database 2023-01-31 15:20:21 +01:00
Nikita Mikhaylov
e9c7555365
Use TablesDependencyGraph in DatabaseReplicated recovery process (#44697) 2023-01-04 14:49:39 +01:00
Nikita Mikhaylov
9ef54c6ecc
Try to use exchanges during database replicated replica recovery process (#43628) 2022-12-01 13:50:56 +01:00
Alexander Tokmakov
03c193ccca fix ON CLUSTER with Replicated database cluster 2022-09-15 21:15:57 +02:00
Antonio Andelic
76ecb28daf Increase timeouts 2022-08-20 11:52:10 +00:00
Antonio Andelic
5e2c8869a9 Merge branch 'master' into replicate-tables-readonly 2022-08-19 09:41:11 +00:00
Antonio Andelic
3f7d28cc6b Address PR comments 2022-08-19 09:39:59 +00:00
robot-clickhouse
479c945c3b Automatic style fix 2022-08-12 12:16:50 +00:00
Antonio Andelic
c6b3a897d2 Test replicated table without ZK, small fixes 2022-08-12 11:56:46 +00:00
Alexander Tokmakov
6f88065cc1 check metadata consistency 2022-07-29 18:33:16 +02:00
Alexander Tokmakov
24725b5f95 fix synchronous queries 2022-07-27 19:15:00 +02:00
Alexander Tokmakov
894acf0c5c fix tests 2022-06-29 16:27:21 +02:00
Alexander Tokmakov
94dd80e900 fix tests 2022-06-24 19:10:33 +02:00
Alexander Tokmakov
f00e6b5a7a deprecate old MergeTree syntax 2022-06-23 11:24:54 +02:00