Commit Graph

94438 Commits

Author SHA1 Message Date
Nikita Mikhaylov
379d8c5c6a
Chown all directories for multidisk setup (#39121) 2022-08-01 12:08:32 +02:00
Alexander Tokmakov
3bb060336d
Merge pull request #39124 from azat/fix-02232_dist_insert_send_logs_level_hung
tests: enable back 02232_dist_insert_send_logs_level_hung
2022-08-01 12:42:51 +03:00
Robert Schulze
c9e1364cd0
Temporarily restore Woboq pages 2022-08-01 08:39:22 +00:00
Antonio Andelic
76f2ba3e98
Merge pull request #39738 from ClickHouse/fix-jepsen-total-queue
Use different root path for total-queue Jepsen test
2022-08-01 09:09:32 +02:00
Robert Schulze
0e154ed1df
More renamings 2022-08-01 07:05:39 +00:00
Wangyang Guo
6a67147584 ColumnVector: refactory to use TargetSpecific::Default::doFilterAligned 2022-08-01 13:41:02 +08:00
Wangyang Guo
b05be56eef ColumnVector: naming style fix 2022-08-01 10:16:15 +08:00
Dmitry Novik
ab5a147065
Merge pull request #38725 from azat/fix-order-by-projection
Fix ORDER BY that matches projections ORDER BY
2022-08-01 00:32:59 +02:00
Robert Schulze
d39259a4c0
More conversions 2022-07-31 22:06:02 +00:00
Azat Khuzhin
3e627e2861 Add profile events for fsync
The following new provile events had been added:

- FileSync - Number of times the F_FULLFSYNC/fsync/fdatasync function was called for files.
- DirectorySync - Number of times the F_FULLFSYNC/fsync/fdatasync function was called for directories.
- FileSyncElapsedMicroseconds - Total time spent waiting for F_FULLFSYNC/fsync/fdatasync syscall for files.
- DirectorySyncElapsedMicroseconds - Total time spent waiting for F_FULLFSYNC/fsync/fdatasync syscall for directories.

v2: rewrite test to sh with retries
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-31 23:19:30 +03:00
Alexey Milovidov
c5f7a3327b
Merge pull request #39085 from quickhouse/patch-3
Fixed regexp in `test_match_process_uid_against_data_owner`
2022-07-31 22:57:26 +03:00
Alexey Milovidov
ccef227494
Merge pull request #38185 from vdimir/analyze_stuck
Limit number of analyze for one query
2022-07-31 22:53:09 +03:00
Alexey Milovidov
6a2f7d0c8f
Merge branch 'master' into interserver_listen_port 2022-07-31 22:51:38 +03:00
Alexey Milovidov
567b57a627
Update a test. 2022-07-31 22:44:28 +03:00
Robert Schulze
a7734672b9
Use std::popcount, ::countl_zero, ::countr_zero functions
- Introduced with the C++20 <bit> header

- The problem with __builtin_c(l|t)z() is that 0 as input has an
  undefined result (*) and the code did not always check. The std::
  versions do not have this issue.

- In some cases, we continue to use buildin_c(l|t)z(), (e.g. in
  src/Common/BitHelpers.h) because the std:: versions only accept
  unsigned inputs (and they also check that) and the casting would be
  ugly.

(*) https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
2022-07-31 15:16:51 +00:00
Robert Schulze
63836749c6
Try to fix "Docs Check" error 2022-07-31 15:04:14 +00:00
Robert Schulze
dd030c6b48
Add anchor 2022-07-31 13:01:35 +00:00
Robert Schulze
fb622e4c4b
Remove IDE recommendation from Russian / Chinese translations of dev guide
- IDEs are already recommended at length earlier in the documents
2022-07-31 12:53:15 +00:00
Alexander Tokmakov
31550436e4 try clang-15 for build with tsan 2022-07-31 14:38:13 +02:00
Robert Schulze
729d19fa4f
Rename "splitted build" to "shared libraries build" in CI tools
- The old name made sense for (dev option) "-DUSE_STATIC_LIBRARIES=0
  -DSPLIT_SHARED_LIBRARIES=1 -DSPLIT_BINARY=1" but that was removed with
  #39520.

- What still exists is "-DUSE_STATIC_LIBRARIES=0
  -DSPLIT_SHARED_LIBRARIES=1" which does a shared library build
2022-07-31 12:26:51 +00:00
Robert Schulze
52d08d9db4
Merge pull request #39520 from ClickHouse/no-split-binary
Remove SPLIT_BINARY
2022-07-31 14:23:31 +02:00
Robert Schulze
0f2177127b
Merge pull request #39751 from ClickHouse/enable-getoskernelversion
Enable SQL function getOSKernelVersion() on all platforms
2022-07-31 14:09:46 +02:00
Antonio Andelic
d87aac2013 Disable fasttest for rocksdb 2022-07-31 11:31:46 +00:00
Azat Khuzhin
aff8c12a4a tests: enable back 02232_dist_insert_send_logs_level_hung
The original issue was that log_comment was wrong, and this test relies
on correct log_comment, but this had been fixed already in #37932.

Also adjust the timeout to avoid possible query hung check failures.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-31 14:27:14 +03:00
Nikolai Kochetov
eaeb0446c7
Merge pull request #39705 from ClickHouse/avoid-recursive-dtor-for-ast
Avoid recursive destruction of AST.
2022-07-31 12:59:20 +02:00
Antonio Andelic
eea1aaef2c Use params for filtering by key in EmbeddedRocksDB 2022-07-31 10:44:01 +00:00
Alexander Gololobov
d259c4fa6c
Merge pull request #39747 from ClickHouse/fix-double-escaping-json
Fix double escaping in the metadata of FORMAT JSON
2022-07-31 11:28:25 +02:00
Robert Schulze
dcc8751685
Disable harmful env var check to workaround failure to start the server 2022-07-31 08:55:07 +00:00
Antonio Andelic
55ff4956ed Merge branch 'master' into fix-jepsen-total-queue 2022-07-31 08:28:10 +00:00
Robert Schulze
7c23e48b5b
Revert exclusion of libharmful (did not work anyways) 2022-07-31 08:05:12 +00:00
Robert Schulze
7fe106a0fb
Try to fix libharmful fail 2022-07-31 07:44:25 +00:00
Robert Schulze
d834d9e137
Minor: Better variable name output 2022-07-31 07:44:25 +00:00
Robert Schulze
9de69a021c
Fix documentation 2022-07-31 07:44:25 +00:00
Robert Schulze
4d7627e45e
Fix include 2022-07-31 07:36:40 +00:00
Anton Popov
095e400075 fix index analysis with tuples and IN 2022-07-31 00:38:52 +00:00
Alexey Milovidov
075ff5005e
Merge branch 'master' into update-arrow 2022-07-31 03:05:53 +03:00
Alexey Milovidov
fa9c3dcc48
Update programs/local/LocalServer.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2022-07-31 03:02:27 +03:00
Alexey Milovidov
a30dbed6b8
Update programs/local/LocalServer.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2022-07-31 03:02:20 +03:00
Alexey Milovidov
c9e6850306
Merge pull request #39325 from azat/perf-parallel_mv-fix
tests/performance: improve parallel_mv test
2022-07-31 02:51:38 +03:00
Alexey Milovidov
22bc89690d
Merge pull request #39222 from azat/fix-http-session
Do not report "Failed communicating with" on and on for parts exchange
2022-07-31 02:24:05 +03:00
Alexey Milovidov
8fb70abe3e
Merge pull request #39178 from azat/dist-insert-log
Add connection info for Distributed sends log message
2022-07-31 02:22:22 +03:00
Alexey Milovidov
7e4fb960cb
Merge branch 'master' into patch-3 2022-07-31 02:20:27 +03:00
Alexey Milovidov
17176212a7
Update test.py 2022-07-31 02:20:08 +03:00
Robert Schulze
8ca236de08
Enable SQL function getOSKernelVersion() on all platforms
Follow up to PR #38615
2022-07-30 22:36:47 +00:00
Alexey Milovidov
f80a4c184e
Merge branch 'master' into interserver_listen_port 2022-07-31 01:22:32 +03:00
Robert Schulze
85773e0926
Merge pull request #38615 from liyinsg/simplified_function_registration_interface
Simplified function registration interface
2022-07-31 00:18:37 +02:00
Alexey Milovidov
15a3ed2e3b
Merge pull request #34662 from den-crane/test/insert_deduplication_token_materialized_views
Test/insert deduplication token materialized views
2022-07-31 01:14:54 +03:00
Alexey Milovidov
ed5090a398
Merge pull request #39622 from ClickHouse/blinkov-patch-23
Update README.md
2022-07-31 01:08:42 +03:00
Alexey Milovidov
9551a36bda
Merge branch 'master' into blinkov-patch-23 2022-07-31 01:08:25 +03:00
Alexey Milovidov
4828be7fc4 Fix double escaping in the metadata of FORMAT JSON 2022-07-30 23:56:41 +02:00