Commit Graph

160359 Commits

Author SHA1 Message Date
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
86fb8f647f Read config_reload_sync_zookeeper only from the server config
Previously it had been read from each config, i.e. for users it should
be defined in users.xml/yaml.

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
Igor Nikonov
5902f3058d
Merge pull request #72706 from ClickHouse/pr-fix-setting-history
Align PR setting changes history with 24.10
2024-12-04 16:21:53 +00:00
Michael Stetsyuk
d77df2b4f2 empty 2024-12-04 16:05:06 +00: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
Francesco Ciocchetti
5ffae78aa3
Merge branch 'fciocchetti-fix-azure-list-trailing-slash' of github.com:primeroz/ClickHouse into fciocchetti-fix-azure-list-trailing-slash 2024-12-04 16:16:17 +01:00
Francesco Ciocchetti
35e67393bd
Name of the container, generated form the test name, is 67 chars which is too long. shrinking it 2024-12-04 16:15:40 +01:00
Mikhail f. Shiryaev
273c294ddf
Merge pull request #72736 from ClickHouse/add-dmesg-log
Add dmesg outptut for the case of build failure
2024-12-04 15:15:15 +00:00
Raúl Marín
1fc4b2e9aa
Merge pull request #72800 from Algunenano/03008_azure_plain_rewritable
Disable 03008_azure_plain_rewritable with distributed cache
2024-12-04 15:03:16 +00:00
Raúl Marín
dc49651ae7 Disable 03008_azure_plain_rewritable with distributed cache 2024-12-04 16:01:29 +01:00
Andrey Zvonov
c239adec36 add test 2024-12-04 14:59:58 +00:00
Raúl Marín
90a03e149a Remove deps from SipHash 2024-12-04 15:45:26 +01:00
Raúl Marín
fd4795c00f Remove some nested deps on SipHash 2024-12-04 15:45:26 +01:00
Raúl Marín
19bc382978 Remove some nested deps on SipHash 2024-12-04 15:45:26 +01:00
Max Kainov
b364af07f9
Merge pull request #72255 from ClickHouse/auto/v24.10.3.21-stable
Update version_date.tsv and changelog after v24.10.3.21-stable
2024-12-04 14:37:36 +00:00
Alexander Gololobov
07512a0819
Merge pull request #72750 from ClickHouse/fix_pk_cache_size_calculation
More accurate PK in-memory size calculation for cache
2024-12-04 14:23:38 +00:00
Han Fei
7bd1ab0189
Merge pull request #72734 from ClickHouse/hanfei/debug-dictionary-logical-err
add a check to debug LOGICAL ERROR of dictionary update
2024-12-04 13:36:43 +00:00
Emmanuel Dias
56f040734d fix docs 2024-12-04 10:15:53 -03:00
Michael Stetsyuk
6ce9d45392 better 2024-12-04 13:06:41 +00:00
Vitaly Baranov
9ce4ac3997
Merge pull request #72723 from vitlibar/formatimpl-refactoring-reworked
Remove ostr from structure IAST::FormatSettings.
2024-12-04 12:43:26 +00:00
divanik
7dad309f47 Reduce changes in Iceberg Metadata File 2024-12-04 12:36:18 +00:00
Nikita Taranov
b0454acb14
Merge pull request #72770 from ClickHouse/more_insistent_compress_in_memory_eng
More insistent compression in `StorageMemory`
2024-12-04 12:29:09 +00:00
divanik
30ccc96c93 Resolve conflicts 2024-12-04 12:29:09 +00:00
Alexander Gololobov
b374ee67f5
Merge pull request #72747 from ClickHouse/query-plan-serialization-steps
Add serialization to some query plan steps.
2024-12-04 12:15:26 +00:00
Mikhail f. Shiryaev
62f2eda0f1
Fix TeePopen.terminate by moving send_signal there 2024-12-04 13:13:21 +01:00
Yarik Briukhovetskyi
3cf4cd0499
Merge pull request #71441 from bigo-sg/translate
translate support second arg longer than the third
2024-12-04 12:12:03 +00:00
Mikhail f. Shiryaev
df3e4cbfe6
Output logs for integration tests, add TeePopen.terminate 2024-12-04 12:23:52 +01:00
divanik
86602c00b6 Merge master and remove setting 2024-12-04 11:13:44 +00:00
Yarik Briukhovetskyi
d93dff37f3
Merge pull request #72185 from yariks5s/fix_bugs_storageobjectstorage
Small bugs fixes in `StorageObjectStorage`
2024-12-04 11:12:43 +00:00
Yarik Briukhovetskyi
70fce88bde
Fix tests 2024-12-04 12:11:31 +01:00
Anton Popov
9172d572c6
Update src/Disks/ObjectStorages/AzureBlobStorage/AzureBlobStorageCommon.cpp 2024-12-04 11:57:43 +01:00
Francesco Ciocchetti
7dc9c8c79c
Trigger CI after updating PR Description 2024-12-04 11:44:21 +01:00
Mikhail f. Shiryaev
cedc08be91
Rebuild clickhouse on the build script changes 2024-12-04 11:40:43 +01:00
Mikhail f. Shiryaev
d0aaea9e82
Add dmesg outptut for the case of build failure 2024-12-04 11:40:37 +01:00
Kseniia Sumarokova
e94a42c576
Update test.py 2024-12-04 11:38:01 +01:00
Francesco Ciocchetti
050bf762c2
use fs::path to simplify the statement 2024-12-04 11:35:00 +01:00
Francesco Ciocchetti
51b5f43de2
Make the List Blob Azure work regardless if the endpoint has a trailing slash or not 2024-12-04 11:25:17 +01:00
zhanglistar
bb7d7add46 Merge branch 'like-enum' of https://github.com/bigo-sg/ClickHouse into like-enum 2024-12-04 17:33:36 +08:00
zhanglistar
c3f7cba0eb fix tests 2024-12-04 17:33:05 +08:00
Andrey Zvonov
2bfe8ad1d8 fix throw on non-existent user in remotequeryexecutor 2024-12-04 08:37:29 +00: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
Vitaly Baranov
f086cb47f3
Merge pull request #72192 from vitlibar/fix-logging-table-is-readonly
Remove log message "Table is in readonly mode" while dropping a table.
2024-12-04 01:22:26 +00:00
zhanglistar
bd00110e9c
Update tests/queries/0_stateless/03278_enum_string_functions.sql
Co-authored-by: Vladimir Cherkasov <vdimir@clickhouse.com>
2024-12-04 09:09:08 +08:00
Raúl Marín
291db8a366
Merge pull request #72722 from Algunenano/exception_compilation
Remove some nested includes
2024-12-03 22:58:37 +00:00
Michael Kolupaev
0dfa43eb4a
Merge pull request #71178 from ClickHouse/ssett
Send settings from server to client
2024-12-03 22:10:58 +00:00
Michael Kolupaev
d347e33fc1
Merge pull request #72731 from ClickHouse/testret
Fix clickhouse-test reporting 'No tests were run' after running tests
2024-12-03 22:10:40 +00:00