Commit Graph

11450 Commits

Author SHA1 Message Date
Kseniia Sumarokova
63603cc6d7
Merge pull request #72810 from ClickHouse/disable-metadata-deletion-in-s3-queue
Better deletion of metadata in s3queue
2024-12-09 16:35:48 +00:00
kssenii
0087ad3fe5 Fix test 2024-12-09 11:52:40 +01:00
Kseniia Sumarokova
1ab0aaa65f
Merge pull request #72896 from ClickHouse/fix-flaky-test-s3-queue
Fix flaky test
2024-12-09 10:45:31 +00:00
Shichao Jin
f36eb17bf6
Merge pull request #72690 from nauu/add_totalbytes_of_inactive_parts
Add total_bytes_with_inactive to system.tables
2024-12-07 01:12:27 +00:00
kssenii
924e274cf2 Merge remote-tracking branch 'origin/master' into disable-metadata-deletion-in-s3-queue 2024-12-06 17:33:30 +01:00
kssenii
9b28d404e2 Review fixes 2024-12-06 17:31:42 +01:00
kssenii
bd577939b1 Fix 2024-12-06 16:36:02 +01:00
Andrey Zvonov
9b0f33b897
Merge branch 'ClickHouse:master' into hotfix-72756 2024-12-06 13:43:26 +01:00
Kseniia Sumarokova
02f27e53f7
Merge pull request #72858 from ClickHouse/fix-backup-resotre-of-empty-file-with-plain-rewr
Fix backup/restore with plain rewritable disk in case there are empty files in backup
2024-12-06 10:53:16 +00:00
Julia Kartseva
8694ce5456 try fix test_backup_restore_s3 2024-12-05 23:37:29 +00:00
kssenii
13dbd31608 Fix backup/restore of empty file 2024-12-05 19:08:38 +01:00
Mikhail Artemenko
55d6a7f603
Merge pull request #72593 from azat/config-zk-sync
Ensure that ClickHouse will see ZooKeeper changes on config reloads
2024-12-05 17:44:51 +00:00
Mikhail f. Shiryaev
65d895a6db
Merge pull request #72835 from ClickHouse/limit-integration-tests-memory
Limit the docker memory to {HOST_MEM-2G}, preventing OOMs
2024-12-05 15:20:03 +00:00
Vladimir Cherkasov
d88f39c7e9
Merge pull request #67323 from kirillgarbar/ch-disks-remove
Reduce memory usage for removeSharedRecursive operation
2024-12-05 13:58:53 +00:00
Alexander Tokmakov
d22174e3bf
Merge pull request #72685 from ClickHouse/rdb_fix_flatten_nested
Fix flatten_nested when recovering a Replicated database
2024-12-05 13:26:50 +00:00
Mikhail f. Shiryaev
726054d161
Print the argparse help with defaults 2024-12-05 13:15:36 +01:00
Mikhail f. Shiryaev
5b1d454f2e
Make docker container memory a CLI argument 2024-12-05 13:14:33 +01:00
Mikhail f. Shiryaev
9489137e23
Fix typing warnings 2024-12-05 12:39:52 +01:00
Mikhail f. Shiryaev
90d655dd96
Limit the docker memory to {HOST_MEM-2G} 2024-12-05 12:32:43 +01:00
Miсhael Stetsyuk
4346ccb434
Merge pull request #72637 from ClickHouse/startup-scripts-execution-state
add `StartupScriptsExecutionState` metric
2024-12-05 10:43:04 +00:00
Daniil Ivanik
9f425ebe73
Merge pull request #69445 from ClickHouse/divanik/add_schema_evolution_concise
Make simple schema evolution for Iceberg data format
2024-12-05 10:22:55 +00:00
Kseniia Sumarokova
777b016d6a
Merge pull request #72738 from ClickHouse/s3queue-avoid-no-such-key
Fix no-such-key in s3queue in certain case
2024-12-04 22:32:37 +00:00
Azat Khuzhin
1aa320c0ca tests: allow nested with_replace_config()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-04 22:54:44 +01:00
Andrey Zvonov
8bf03e8a21 small test update 2024-12-04 19:53:40 +00:00
Kseniia Sumarokova
fe01be106c
Update test.py 2024-12-04 19:38:26 +01:00
Azat Khuzhin
47397a45c5 tests: make test_config_substitutions idempotent
Now the following passed:

    $ bin=$(which clickhouse); g=$PWD; docker run --privileged -it --rm --volume=$bin:/clickhouse --volume=$bin:/usr/share/clickhouse_fresh --volume=/dev/null:/usr/bin/clickhouse-odbc-bridge --volume=/dev/null:/usr/share/clickhouse-odbc-bridge_fresh --volume=$g/programs/server:/clickhouse-config --volume=$g:/ClickHouse --volume=$g/docker/test/integration/runner/compose:/compose:ro --volume=clickhouse-integration-tests:/var/lib/docker -e PYTEST_ADDOPTS='-vvv -s --pdb --count 2 test_config_substitutions/test.py' --name ch clickhouse/integration-tests-runner

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-04 17:42:35 +01:00
Azat Khuzhin
f1e909e309 Remove config_reload_sync_zookeeper (issue sync unconditionally)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-04 17:42:35 +01:00
Azat Khuzhin
c9291949ba Enable config_reload_sync_zookeeper for test_config_substitutions
This should fix flakiness of `test_config_substitutions/test.py::test_config_multiple_zk_substitutions` [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/71406/af822de0bf896dcb0a28f55889d12611bd38171a/integration_tests__asan__old_analyzer__[1_6].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-04 17:42:35 +01:00
Azat Khuzhin
ac0fb050f1 Add ability to sync ZooKeeper before reloading the config
Otherwise it is not deterministic wether ClickHouse will see this
change, i.e. if you created znode just before `SYSTEM RELOAD CONFIG` it
is not 100% that the ClickHouse will see it.

Refs: apache/zookeeper@8ee17324ce
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-04 17:42:35 +01:00
kssenii
03f44e8920 Merge remote-tracking branch 'origin/master' into disable-metadata-deletion-in-s3-queue 2024-12-04 17:41:26 +01:00
kssenii
7fc60d84cc Better deletion of keeper metadata in s3queue 2024-12-04 17:39:04 +01:00
Andrey Zvonov
bd74ac343b fix black 2024-12-04 15:40:43 +00:00
Kseniia Sumarokova
d9da4e4235
Update test.py 2024-12-04 16:27:11 +01:00
Andrey Zvonov
c239adec36 add test 2024-12-04 14:59:58 +00:00
divanik
30ccc96c93 Resolve conflicts 2024-12-04 12:29:09 +00:00
Kseniia Sumarokova
e94a42c576
Update test.py 2024-12-04 11:38:01 +01:00
Antonio Andelic
373d6acbdd
Merge pull request #72730 from ClickHouse/fix-keeper-internal-ssl
Fix advanced SSL configuration for Keeper's internal communication
2024-12-04 08:20:57 +00:00
kssenii
7bee0a4872 Speed up the test 2024-12-03 18:29:50 +01:00
kssenii
bd284fbb0d Add a test 2024-12-03 18:17:25 +01:00
divanik
f1219d3e8e Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/add_schema_evolution_concise 2024-12-03 15:27:45 +00:00
Vladimir Cherkasov
902a42fead
Merge branch 'master' into ch-disks-remove 2024-12-03 14:23:17 +01:00
Antonio Andelic
340b0a9860 Fix style 2024-12-03 13:18:52 +01:00
Antonio Andelic
d65f440679 Fix advanced SSL configuration for Keeper's internal communication 2024-12-03 09:44:17 +01:00
Michael Kolupaev
bc267d4427 Merge remote-tracking branch 'origin/master' into ssett 2024-12-03 06:51:08 +00:00
nauu
94b4a5190f Change * to a specific column,because if the new version of system.tables adds a new column,it will cause an identifier error 2024-12-03 11:37:42 +08:00
Yakov Olkhovskiy
617af1d3c0
Merge pull request #71297 from lzydmxy/force-connect-on-retry
Force_connected for retry resume connection establisher
2024-12-03 01:21:31 +00:00
Alexander Tokmakov
12ac21f10f fix flatten_nested when recovering a Replicated db 2024-12-02 11:08:43 +01:00
Raúl Marín
0a5a0a2973
Merge pull request #72402 from Algunenano/keeper_fault
Better error message on bad keeper snapshots
2024-12-02 09:24:16 +00:00
robot-clickhouse
fad3f2ff00 Automatic style fix 2024-11-29 17:54:14 +00:00
Michael Stetsyuk
b512997e50 better test 2024-11-29 17:45:55 +00:00