Commit Graph

122617 Commits

Author SHA1 Message Date
Alexander Tokmakov
376202f739 fix creation of empty parts 2023-08-15 00:26:17 +02:00
Dmitry Novik
84131740fd Fix sanitizer error 2023-08-15 00:22:05 +02:00
Alexander Tokmakov
1e3f9c8cfe
Merging #53142 (#53431)
* Added session_log events to text_log

* user error severity instead of debug for failure

* updated test expectation

* added user_id to logout message

* empty commit

---------

Co-authored-by: Alexey Gerasimchuck <a.gerasimchuck@arenadata.io>
2023-08-15 00:41:24 +03:00
Alexander Tokmakov
5ab82cc019
Merge pull request #53430 from ClickHouse/merging_53177
Merging #53177
2023-08-15 00:39:09 +03:00
Alexander Tokmakov
7312de59c5 empty commit 2023-08-14 23:33:30 +02:00
Alexander Tokmakov
894ec8e0d0 less exceptions with runtime format string 2023-08-14 21:45:59 +02:00
Alexey Milovidov
7b001076c1
Merge pull request #53375 from ClickHouse/make-log-message-longer
Make one exception message longer
2023-08-14 22:32:06 +03:00
Robert Schulze
3d8f2c335f
Protect against invalid asynchronous_metrics_update_period_s settings 2023-08-14 18:57:59 +00:00
Alexander Tokmakov
1916aec2e2 add trash for Replicated database 2023-08-14 20:49:06 +02:00
Alexander Tokmakov
368f6d7b13 fix 2023-08-14 20:46:41 +02:00
Alexey Milovidov
5d0a05ef19
Merge pull request #53418 from ClickHouse/sudo-preserve-env
Attempt to address reset ENV in init.d script
2023-08-14 21:29:55 +03:00
ltrk2
2c1bd7d3bc Remove duplicate function specialization 2023-08-14 18:15:31 +00:00
Dmitry Novik
1244828555 Analyzer: fix virtual columns in StorageDistributed 2023-08-14 19:27:05 +02:00
Alexander Tokmakov
f0f2cd8c13 Merge branch 'master' into fixes_for_detached_parts 2023-08-14 19:20:45 +02:00
ltrk2
2846ea49b4
Merge branch 'master' into feature/mergetree-checksum-big-endian-support 2023-08-14 13:02:30 -04:00
Dmitry Novik
a366c1c532 Update src/Interpreters/executeQuery.cpp 2023-08-14 18:44:09 +02:00
Dmitry Novik
9dafc596d0 Analyzer: fix quotas for system tables 2023-08-14 18:44:09 +02:00
Igor Nikonov
c6dc7a8a0b Update test 2023-08-14 16:04:58 +00:00
Robert Schulze
43ae78d327
Merge remote-tracking branch 'rschu1ze/master' into follow-up-52695 2023-08-14 15:50:54 +00:00
Robert Schulze
7ed5166c8a
Cosmetics: Make re-cfg of query cache similar to re-cfg of other caches
This doesn't change semantics, it only changes in which places the
configuration is parsed. This makes the logic more consistent across
caches.
2023-08-14 15:42:32 +00:00
Robert Schulze
ed90463888
Add comment 2023-08-14 15:42:32 +00:00
Robert Schulze
bb53d635df
More consistency: Run same mark cache size check in ch-local
Server.cpp had a check that the configured mark cache size is not 0. Run
the same check in LocalServer.cpp.
2023-08-14 15:42:32 +00:00
Robert Schulze
f126e54b0d
Respect max_cache_size for all caches
So far, max_cache_size was only respected in Server.cpp, and in this
file only for the mark cache and the uncompressed cache. This commit
respects it also for the other cache types in Server.cpp, as well for
all caches in LocalServer.cpp.
2023-08-14 15:42:32 +00:00
Robert Schulze
9e4b4541bc
Cosmetics: More aesthetic code 2023-08-14 15:42:32 +00:00
Robert Schulze
54e54aed74
Cosmetics: Introduce constants for default cache sizes and policies 2023-08-14 15:42:32 +00:00
Robert Schulze
3472a928d8
Cosmetics: Rename dropCache() to clearCaches()
"dropCache()" is a bad name, it sounds like that the cache can no longer
be used after the call. Not true, we only "clear" the cache.
2023-08-14 15:42:32 +00:00
Robert Schulze
646c51ea40
Cosmetics: Move methods into a more logical order. 2023-08-14 15:42:32 +00:00
Robert Schulze
def9bb8d92
Exclude the query cache from dropCaches() 2023-08-14 15:42:32 +00:00
Robert Schulze
fed995734e
Cosmetics: Move prefetch threadpool stuff out of "caching" section 2023-08-14 15:42:32 +00:00
robot-ch-test-poll3
39e481934c
Merge pull request #53420 from ClickHouse/evillique-patch-1
Update insert-into.md
2023-08-14 17:14:31 +02:00
Mikhail f. Shiryaev
9680de07e9
Merge pull request #53413 from ClickHouse/quick-fail-undocumented-features
Quick fail undocumented features
2023-08-14 16:58:58 +02:00
Igor Nikonov
a81c762928 Fix style 2023-08-14 14:52:26 +00:00
Robert Schulze
364b43f19e
Cosmetics: add "cache" section marker 2023-08-14 14:49:40 +00:00
Nikolay Degterinsky
8f3f47a51f
Update insert-into.md 2023-08-14 16:40:36 +02:00
Nikolay Degterinsky
3d5c9bfa1a
Update insert-into.md 2023-08-14 16:39:37 +02:00
Nikolay Degterinsky
1738afc196
Update insert-into.md 2023-08-14 16:37:34 +02:00
Igor Nikonov
ca2f800fa5 Remove unnecessary code 2023-08-14 14:35:01 +00:00
Mikhail f. Shiryaev
3655df0f40
Attempt to address reset ENV in init.d script 2023-08-14 16:32:52 +02:00
vdimir
f8b1d7474d
Update test_distributed_inter_server_secret to pass with analyzer 2023-08-14 12:46:23 +00:00
Alexander Tokmakov
37d8155773
Merge pull request #53379 from ClickHouse/make-some-keeper-exceptions-more-structured
Make some Keeper exceptions more structured
2023-08-14 15:40:54 +03:00
Mikhail f. Shiryaev
56a8818cf2
Fix logic of Mergeable Check 2023-08-14 14:31:26 +02:00
Mikhail f. Shiryaev
900e38a676
Fail early on missed documentation for new features 2023-08-14 14:20:40 +02:00
Mikhail f. Shiryaev
310ac6feaf
Tune PRInfo.has_changes_in_documentation 2023-08-14 14:19:08 +02:00
Alexander Tokmakov
8a02b184ef
Merge pull request #53376 from ClickHouse/fix-wrong-query-for-log-messages-check
Fix wrong query in log messages check
2023-08-14 14:47:44 +03:00
Robert Schulze
9d5fcbf524
Follow-up to #52695: Move tests to a more appropriate place 2023-08-14 09:27:12 +00:00
Robert Schulze
c7e6b09f4d
Merge pull request #53398 from rschu1ze/tbl-name
Docs: Update table name in ANN docs
2023-08-14 11:14:56 +02:00
Robert Schulze
2d3bf55d45
Docs: Update table name in ANN docs 2023-08-14 08:50:20 +00:00
Robert Schulze
5dc2255e49
Merge pull request #53395 from rschu1ze/update-ann-anchors
Docs: Fixups in ANN docs
2023-08-14 10:31:19 +02:00
Robert Schulze
1c3f4d3719
+ , 2023-08-14 07:46:15 +00:00
Robert Schulze
f71ce2641c
Fix copyright issues in ANN docs 2023-08-14 07:36:27 +00:00