Commit Graph

154861 Commits

Author SHA1 Message Date
Yarik Briukhovetskyi
456d92e229
empty commit 2024-10-14 19:58:10 +02:00
Yarik Briukhovetskyi
ac492d7db0
Update 03250_SYSTEM_DROP_FORMAT_SCHEMA_CACHE_FOR_Protobuf.sh 2024-10-14 16:37:35 +02:00
Azat Khuzhin
eca9ec566a tests: fix permissions for files in user_files
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-10-06 14:48:52 +02:00
Azat Khuzhin
e701cec0f2 Add a test for SYSTEM DROP FORMAT SCHEMA CACHE FOR Protobuf
I was able to reproduce the problem, but only with ASan build, but CI is
better them me in this job.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-10-06 08:11:10 +02:00
Azat Khuzhin
cc6b461115 Fix possible use-after-free in SYSTEM DROP FORMAT SCHEMA CACHE FOR Protobuf
The problem is that getMessageTypeForFormatSchema() returns raw pointer
(google::protobuf::Descriptor *), and ProtobufSchemas::clear() will free
all this pointers, fix this by storing shared_ptr in cache.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-10-04 10:27:15 +02:00
Mikhail f. Shiryaev
e53271ed2f
Merge pull request #70272 from ClickHouse/better-tests-balance
Fair tests balancing for integration tests
2024-10-02 20:41:48 +00:00
Antonio Andelic
368c06c5cb
Merge pull request #70275 from ClickHouse/keeper-less-blocking-cluster-changes
Keeper improvement: less blocking during cluster changes
2024-10-02 17:41:23 +00:00
Antonio Andelic
39685473e3
Merge pull request #70175 from ClickHouse/debug-perf
Fix performance checks
2024-10-02 17:41:01 +00:00
Mikhail f. Shiryaev
d81115b3b2
Use common functions, fix flaky tests 2024-10-02 17:53:16 +02:00
Mikhail f. Shiryaev
3b2ced501a
Slight typing improvements, add {replace,reset}_zookeeper_config 2024-10-02 17:50:25 +02:00
Mikhail f. Shiryaev
cfb340212e
Fix two simple flaky tests 2024-10-02 17:50:25 +02:00
Mikhail f. Shiryaev
f285e9b4c5
Add cluster.wait_zookeeper_nodes_to_start
Both wait_zookeeper_secure_to_start and wait_zookeeper_to_start are the
same, and users creating wait_zookeeper_nodes_to_start here and there.
2024-10-02 17:50:23 +02:00
Alexander Tokmakov
6d729078dd
Merge pull request #69586 from ClickHouse/fix_flaky_check
Make a test ready for flaky check
2024-10-02 15:43:13 +00:00
Shichao
816a5a5b21
Merge pull request #70219 from peter279k/add_to_typename_usage
Improve toTypeName function usage
2024-10-02 14:46:52 +00:00
Antonio Andelic
80b355007e Merge branch 'master' into debug-perf 2024-10-02 16:28:41 +02:00
Mikhail f. Shiryaev
ba069d9664
Add a little bit of typing, fix logging 2024-10-02 16:21:00 +02:00
Anton Popov
e389858f2c
Merge pull request #69875 from CurtizJ/perf-missing-defaults
Better performance of parsing with a lot of missing values
2024-10-02 14:18:06 +00:00
Yarik Briukhovetskyi
3198aafac5
Merge pull request #69755 from marco-vb/marco-vb/setting-stop-insert-on-full-disk
Add user-level settings min_free_diskspace_bytes_to_throw_insert and min_free_diskspace_ratio_to_throw_insert
2024-10-02 14:06:02 +00:00
Shichao
df353123cc
Merge pull request #70221 from peter279k/improve_ipv4_or_default_usage
Improve toIPv4OrDefault function usage
2024-10-02 13:17:31 +00:00
Shichao
f7933f2dfc
Merge pull request #70220 from peter279k/improve_to_iso_year_usage
Improve toISOYear function usage
2024-10-02 13:17:02 +00:00
Antonio Andelic
e980e24c45 Keeper improvement: less blocking during cluster changes 2024-10-02 15:12:47 +02:00
Mikhail f. Shiryaev
45475a16ee
Distribute tests by batched jobs more equally 2024-10-02 14:52:24 +02:00
Mikhail f. Shiryaev
97a647ce0c
Sort pylint disables 2024-10-02 14:52:16 +02:00
Raúl Marín
937348ec75
Merge pull request #69780 from Algunenano/readAndMerge
Remove unused buggy code
2024-10-02 12:38:24 +00:00
Kseniia Sumarokova
89d4ab65e6
Merge pull request #70255 from peter279k/improve_current_database_usage
Improve currentDatabase function usage
2024-10-02 11:51:46 +00:00
Antonio Andelic
d9f15cb062 Fix 2024-10-02 13:44:24 +02:00
Mikhail f. Shiryaev
4ed0abcb13
Add ClickhouseIntegrationTestsRunner.repo_path 2024-10-02 13:44:14 +02:00
Mikhail f. Shiryaev
6474019a84
Merge pull request #70146 from ClickHouse/upgrade-integration-runner
Upgrade integration-runner image
2024-10-02 11:19:33 +00:00
Antonio Andelic
9349b1674c Always use new binary 2024-10-02 13:05:40 +02:00
Raúl Marín
fedc26c4c5
Merge pull request #70254 from ClickHouse/docs-async-insert
[Docs] Correct async_insert_use_adaptive_busy_timeout
2024-10-02 10:09:43 +00:00
Pavel Kruglov
321980f650
Merge pull request #70218 from Avogar/respect-simdjson-setting
Respect setting allow_simdjson in JSON type parser
2024-10-02 09:48:42 +00:00
Yarik Briukhovetskyi
b0c19141e0
Merge branch 'master' into marco-vb/setting-stop-insert-on-full-disk 2024-10-02 11:40:37 +02:00
Kseniia Sumarokova
0ed1520c3e
Merge pull request #70114 from 1on/master
Fixed MaterializedPostgreSQL for subset of columns for several similar table names
2024-10-02 08:38:12 +00:00
Mikhail f. Shiryaev
84c81cdc3c
Move the common keeper code to helpers/keeper_utils.py 2024-10-02 09:50:36 +02:00
Mikhail f. Shiryaev
6755039750
Simplify test_zookeeper_config_load_balancing, use ss 2024-10-02 09:50:35 +02:00
Antonio Andelic
9bbe004150 Merge branch 'master' into debug-perf 2024-10-02 09:29:50 +02:00
Peter
e04ce8b6b5
Improve currentDatabase function usage 2024-10-02 13:43:55 +08:00
Justin de Guzman
dadbb0a8ac
[Docs] Correct async_insert_use_adaptive_busy_timeout 2024-10-01 22:14:32 -07:00
tuanpach
856a367d2d
Merge pull request #69411 from tuanpach/add-enable-secure-identifiers-setting
Add enable_secure_identifiers setting
2024-10-02 04:57:47 +00:00
Anton Popov
6d2f9cab3a Merge remote-tracking branch 'upstream/master' into HEAD 2024-10-02 01:20:37 +00:00
Mikhail f. Shiryaev
b41dcdfcdd
Merge pull request #70197 from ClickHouse/run-by-labels
Require bugfix job for a set of labels
2024-10-01 23:24:28 +00:00
Michael Kolupaev
d5053605ab
Merge pull request #70149 from ClickHouse/loopsbro
Fix 'QueryPlan was not initialized' in 'loop' with empty MergeTree
2024-10-01 22:59:51 +00:00
Alexey Milovidov
229ead5f91
Merge pull request #70144 from Avogar/fix-dynamic-alter-hung
Fix possible hung in ALTER COLUMN with Dynamic type
2024-10-01 20:55:34 +00:00
Alexey Milovidov
cc93740ca0
Merge pull request #70196 from ClickHouse/tavplubix-patch-14
Update 01079_parallel_alter_add_drop_column_zookeeper.sh
2024-10-01 20:55:03 +00:00
Kseniia Sumarokova
8d5b928f62
Merge pull request #70159 from ClickHouse/kssenii-patch-12
Update test_storage_s3_queue/test.py
2024-10-01 20:23:38 +00:00
Mikhail f. Shiryaev
63cb7dfa5f
Fix some issues in cluster.py, improve logging 2024-10-01 21:53:09 +02:00
Mikhail f. Shiryaev
4de6e20f72
Remove version from the rest of docker-compose files 2024-10-01 21:53:08 +02:00
Mikhail f. Shiryaev
f6fbd9c8aa
Fix test_zookeeper_config_load_balancing after docker-compose upgrade 2024-10-01 21:53:08 +02:00
Mikhail f. Shiryaev
8b40f15c7b
Set docker_compose_net.yml only once, remove version from compose template 2024-10-01 21:53:07 +02:00
Michael Kolupaev
88a3408522 Merge remote-tracking branch 'origin/master' into HEAD 2024-10-01 18:38:43 +00:00