Azat Khuzhin
38ad4ef493
Fix timeout for prometheus exporter for HTTP/1.1 (due to keep-alive)
...
Before:
$ time curl -s --http1.1 127.1:9363/metrics > /dev/null
real 0m10.018s # default keep_alive_timeout is 10 seconds
user 0m0.005s
sys 0m0.001s
After
$ time curl -s --http1.1 127.1:9363/metrics > /dev/null
real 0m0.008s
user 0m0.006s
sys 0m0.000s
And if you will look at the test_prometheus_endpoint, you will see that
it takes > 30 seconds (it obtains metrics 3 times), after this patch it
should be finished more or less instantly.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-01-19 13:29:17 +03:00
Kruglov Pavel
90057c6f39
Merge pull request #58907 from ClickHouse/Avogar-patch-1
...
Fix possible crash in clickhouse-local during loading suggestions
2024-01-19 11:20:25 +01:00
kssenii
2f34ef6ff8
Follow up
2024-01-19 11:19:59 +01:00
vdimir
97a38855c1
Merge pull request #57870 from ClickHouse/vdimir/test_show_whitespaces_in_diff
...
Add option `--show-whitespaces-in-diff` to clickhouse-test
2024-01-19 10:42:00 +01:00
vdimir
b8340afddf
Merge pull request #58943 from ClickHouse/vdimir/analyzer_column_not_found
...
Analyzer: fix join column not found with compound identifiers
2024-01-19 10:40:03 +01:00
Kseniia Sumarokova
a661c6b2c0
Update run.sh
2024-01-19 10:37:21 +01:00
Kseniia Sumarokova
25be226c05
Merge pull request #58951 from ClickHouse/fix-materialized-pg-test
...
Fix flaky test_postgresql_replica_database_engine_2/test.py::test_dependent_loading
2024-01-19 10:27:18 +01:00
Kseniia Sumarokova
1c74e7fa08
Merge pull request #58902 from ClickHouse/fs-cache-refactorings
...
fs cache: minor refactoring
2024-01-19 10:25:45 +01:00
alesapin
3dc8b2dbf7
Merge pull request #58955 from ClickHouse/more_safe_way_to_dump_Logs
...
More safe way to dump system logs in tests
2024-01-19 10:20:55 +01:00
Jiebin Sun
0fb7d2290c
Update src/Analyzer/Passes/RewriteSumFunctionWithSumAndCountPass.cpp
...
Co-authored-by: Raúl Marín <git@rmr.ninja>
2024-01-19 17:01:11 +08:00
Alexey Milovidov
e9acae7774
Merge pull request #58950 from ClickHouse/fix-data-race-in-slru-2
...
Fix data race in slru (2)
2024-01-19 09:31:25 +01:00
Alexey Milovidov
8a288055c9
Merge pull request #58949 from MikhailBurdukov/fix_s3_copy
...
Using the destination object for paths generation in S3copy.
2024-01-19 09:28:13 +01:00
Antonio Andelic
19ca00f233
Call getMaxFileDescriptorCount once
2024-01-19 08:19:20 +00:00
zhangyifan27
7e56a2d925
fix test failure when allow_experimental_analyzer=1
2024-01-19 16:11:30 +08:00
Alexey Milovidov
ff8e1d1595
Merge pull request #58930 from CurtizJ/fix-functions-to-subcolumns-pass
...
Fix `FunctionToSubcolumnsPass` in debug build
2024-01-19 08:40:55 +01:00
Alexey Milovidov
6792f72c6b
Better error message about tuples
2024-01-19 06:26:11 +01:00
Alexey Milovidov
0c1e92aea5
Less threads in clickhouse-local
2024-01-19 04:53:14 +01:00
Alexey Milovidov
dcdbaf9150
Merge pull request #58900 from MikhailBurdukov/restriction_for_s3_access_key_id
...
Restriction for the access key id for s3.
2024-01-19 04:13:17 +01:00
Alexey Milovidov
370815803e
Update Client.cpp
2024-01-19 06:12:44 +03:00
Alexey Milovidov
bcff1bac47
Merge pull request #58874 from ClickHouse/disk-minor-improvement
...
DiskWeb minor improvement in loading
2024-01-19 03:52:05 +01:00
Michael Kolupaev
3a19ea6e6c
Fix seek in ReadBufferFromZipArchive
2024-01-19 01:46:07 +00:00
Alexey Milovidov
5a6a89897e
Merge pull request #58960 from ClickHouse/add_a_comment_about_sparse_checkout
...
Add a comment about sparse checkout
2024-01-19 00:39:26 +01:00
Nikita Taranov
9d36fe4a48
Merge pull request #58923 from nickitat/add_test
...
Add regression test for parallel replicas (follow up #58722 , #58844 )
2024-01-18 21:54:18 +01:00
Robert Schulze
1bfeee1954
Some fixups
2024-01-18 20:49:50 +00:00
Kseniia Sumarokova
7f92bf6f0b
Merge pull request #58921 from ClickHouse/add-a-test-for-azure
...
Fix and test for azure #58697
2024-01-18 21:41:54 +01:00
Vitaly Baranov
24ca8fbbec
Improve logs.
2024-01-18 21:15:39 +01:00
Vitaly Baranov
0caafe4810
Fix memory deallocation in copyDataToS3File()
...
- ReadBufferFromS3 is created now only when it's necessary and destroyed after that.
2024-01-18 20:48:56 +01:00
Robert Schulze
15700592f7
Merge remote-tracking branch 'ClickHouse/master' into column_level_compress_block
2024-01-18 19:12:57 +00:00
Nikita Taranov
b5e333df96
remove test
2024-01-18 19:56:02 +01:00
robot-clickhouse
5f1f27f8c7
Automatic style fix
2024-01-18 18:34:10 +00:00
Alexander Tokmakov
01d9b9a28a
add a comment about sparse checkout
2024-01-18 19:22:20 +01:00
Alexander Sapin
ea6ca96c85
More safe way to dump system logs in tests
2024-01-18 17:51:48 +01:00
slvrtrn
cee5a99bca
Add native type checks to the tests
2024-01-18 17:49:18 +01:00
Mikhail f. Shiryaev
ab4d0d293a
Merge pull request #58717 from ClickHouse/improve-cherry-pick
...
Small fixes in different helpers
2024-01-18 17:31:09 +01:00
slvrtrn
0ec385064c
Add SIGNED/UNSIGNED aliases for Int64/UInt64
2024-01-18 17:28:47 +01:00
Anton Popov
d2142041cd
Merge remote-tracking branch 'upstream/master' into HEAD
2024-01-18 16:03:54 +00:00
kssenii
10a47ef185
Fix
2024-01-18 16:56:17 +01:00
Kseniia Sumarokova
bfe8037653
Merge branch 'master' into fix-data-race-in-slru-2
2024-01-18 16:54:52 +01:00
kssenii
d20a33424f
Fix race
2024-01-18 16:53:10 +01:00
yariks5s
6ad6d6a121
fix due to review
2024-01-18 15:41:25 +00:00
MikhailBurdukov
b3d74fc907
style
2024-01-18 15:39:25 +00:00
Robert Schulze
cf115e696b
Merge pull request #58929 from slvrtrn/mysql-show-warnings
...
Add `SHOW WARNINGS` support in MySQL interface
2024-01-18 16:24:50 +01:00
MikhailBurdukov
eac310fcb2
Review
2024-01-18 15:19:11 +00:00
Mikhail f. Shiryaev
7a911997ae
Fix git_helper.Runner.__call__ typing
2024-01-18 16:11:01 +01:00
Mikhail f. Shiryaev
61a79bac53
Copy local cache archives when CI is not set
2024-01-18 15:53:04 +01:00
Mikhail f. Shiryaev
d70c72b89e
Name stash properly
2024-01-18 15:53:02 +01:00
Mikhail f. Shiryaev
15cfc9b0ef
Fix stash and clear_repo contexts
...
All the cleanup should be done in `finally` block:
```
In [3]: @contextmanager
...: def stash():
...: try:
...: print("inside")
...: yield
...: except (Exception, KeyboardInterrupt):
...: print("catched")
...: raise
...: finally:
...: print("always")
...:
In [4]: with stash():
...: raise ValueError("something")
...:
inside
catched
always
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
Cell In[4], line 2
1 with stash():
----> 2 raise ValueError("something")
ValueError: something
In [5]: @contextmanager
...: def stash():
...: try:
...: print("inside")
...: yield
...: finally:
...: print("always")
...:
In [6]: with stash():
...: raise ValueError("something")
...:
inside
always
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
Cell In[6], line 2
1 with stash():
----> 2 raise ValueError("something")
```
And `except` block is unnecessary if it should just re-raise an error
2024-01-18 15:25:59 +01:00
Max K
4aeb504074
Merge pull request #58947 from ClickHouse/pr_info_for_scheule_and_dispatch_event
...
CI: pr_info to provide event_type for job scripts
2024-01-18 15:10:49 +01:00
Max Kainov
4eb7cda8fa
Add pr_info event type so that jobs could know how they launched
...
#no_merge_commit #ci_set_reduced
2024-01-18 13:31:37 +00:00
Dmitry Novik
ba2dad98bb
Merge pull request #58913 from ClickHouse/fix-style
...
Style fix
2024-01-18 14:24:39 +01:00