Commit Graph
1260 Commits
Author SHA1 Message Date
Antonio Andelic b6b6556b09 Correct MemoryTracker with MemoryWorker 2025-02-07 13:48:40 +01:00
Azat Khuzhin 0394cb4fea Fix queries in Replicated database in startup_scripts (set query kind)
Otherwise the following fails:

    <startup_scripts>
        <scripts>
            <query>CREATE DATABASE IF NOT EXISTS datasets ON CLUSTER test_shard_localhost Engine=Replicated('/clickhouse/databases/datasets', '{shard}', '{replica}')</query>
        </scripts>
        <scripts>
            <query>CREATE TABLE IF NOT EXISTS datasets.x (key Int) Engine=ReplicatedMergeTree() ORDER BY ()</query>
        </scripts>
    </startup_scripts>

    2025.01.22 18:31:00.396210 [ 25057 ] {} <Error> Application: Failed to parse startup scripts file: Code: 80. DB::Exception: It's not initial query. ON CLUSTER is not allowed for Replicated database. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below):

Signed-off-by: Azat Khuzhin <[email protected]>
2025-02-05 09:58:06 +01:00
Pablo Marcos 0338555b1c Merge branch 'master' into reduce-dependencies-of-background-schedule-pool-header 2025-02-04 10:18:38 +00:00
Pablo Marcos bc3e3950ae Reduce includes for BackgroundSchedulePool
A change in BackgroundSchedulePool.h now triggers the build for
52 TUs as opposed to 337 TUs.
2025-01-31 08:32:51 +00:00
Robert Schulze 7a756d6585 Clarify docs for settings max_server_memory_usage and max_server_memory_usage_to_ram_ratio 2025-01-29 20:34:28 +00:00
pufit d8b137baa0 Fix include 2025-01-22 14:13:38 -05:00
pufit 89ea0af547 add missing import 2025-01-22 03:06:11 -05:00
pufit 766c8bd029 Add users to startup scripts 2025-01-22 02:22:14 -05:00
alesapinandGitHub b6cc1c0e6d Merge pull request #73323 from ClickHouse/rmvjoin
Fix refreshable MV crash on shutdown
2025-01-20 16:33:23 +00:00
Michael Stetsyuk 3d0a7bdc05 better 2025-01-16 17:20:27 +00:00
Michael Stetsyuk 3a43c7a99d IsServerShuttingDown metric 2025-01-16 17:20:27 +00:00
Robert Schulze 86eb315e36 Merge remote-tracking branch 'ClickHouse/master' into skipping-index-cache2 2025-01-13 11:48:39 +00:00
Alexey Milovidov 7c78b0d944 Disable SSH server 2025-01-11 01:46:05 +01:00
Nikita MikhaylovandGitHub 57b49b5edc Merge pull request #48902 from InfJoker/ssh-protocol-with-pty
SSH interface with PTY
2025-01-08 21:10:48 +00:00
Sergei TrifonovandGitHub 8afe1181b3 Merge pull request #73713 from ClickHouse/concurrency-control-no-restart
Mark ConcurrencyControl settings as changable w/o restart
2025-01-08 14:38:04 +00:00
Nikita MikhaylovandNikita Mikhaylov e41b53fcae Fix build and cleanup 2025-01-08 11:53:54 +01:00
Nikita MikhaylovandNikita Mikhaylov f9d5bb5929 Make SSH available only for Linux 2025-01-08 11:53:53 +01:00
Gamezardashvili GeorgeandNikita Mikhaylov dce8775516 SSH Authentication 2025-01-08 11:53:53 +01:00
serxa 43a3eeb3e5 fix 2025-01-07 15:42:18 +00:00
Michael Kolupaev eae4ad575e Merge remote-tracking branch 'origin/master' into rmvjoin 2025-01-06 23:32:57 +00:00
Alexey MilovidovandGitHub c3913b51a6 Merge pull request #73812 from scanhex12/tls_pg_2
Support TLS for Postgres wire protocol
2025-01-05 06:19:42 +00:00
Alexey MilovidovandGitHub b92e191cf0 Merge pull request #73738 from ClickHouse/revert-62944-improve-62308
Revert "Apply config updates in global context"
2024-12-28 23:21:22 +01:00
Alexey Milovidov 0f18fdf0e9 You can no longer use MaterializedMySQL 2024-12-27 10:54:31 +01:00
Konstantin Vedernikov 31bc1bb711 fix 2024-12-25 18:32:41 +00:00
Konstantin Vedernikov 384d9fb7d1 init 2024-12-24 21:35:43 +00:00
Alexander TokmakovandGitHub 3e1385f47d Revert "Apply config updates in global context" 2024-12-23 16:18:12 +01:00
serxa 65f071aeea Mark ConcurrencyControl settings as changable w/o restart 2024-12-21 11:03:07 +00:00
Michael Kolupaev 0962507e7f Merge remote-tracking branch 'origin/master' into rmvjoin 2024-12-20 03:17:37 +00:00
Yakov OlkhovskiyandGitHub 7cf998b8cb Revert "Revert "Add connection reestablisher to mysql and postgres dictionary pools"" 2024-12-18 09:44:07 -05:00
Raúl MarínandGitHub 29f187eae6 Merge pull request #73539 from ClickHouse/revert-71101-imp-mysql-bg-reconnect
Revert "Add connection reestablisher to mysql and postgres dictionary pools"
2024-12-18 12:58:01 +00:00
Raúl MarínandGitHub 64365a089b Revert "Add connection reestablisher to mysql and postgres dictionary pools" 2024-12-18 13:57:13 +01:00
Michael Kolupaev a5471eb45c Merge remote-tracking branch 'origin/master' into rmvjoin 2024-12-18 03:24:09 +00:00
Christoph Wurm fa47ace15a Fix merge 2024-12-17 17:54:45 +00:00
Christoph Wurm 555a02b10d Merge remote-tracking branch 'origin/master' into add_lazy_dict_settings 2024-12-17 17:53:09 +00:00
Robert SchulzeandGitHub 5690b56f73 Merge pull request #73359 from rschu1ze/revert-legacy-mongo-removal
Revert "Get rid of the legacy mongodb integration"
2024-12-17 15:53:28 +00:00
Robert Schulze 9b2fd5850d Revert "get rid of poco mongodb integration implementation"
This reverts commit fcaa058c92.
2024-12-16 13:04:53 +00:00
Nikita MikhaylovandGitHub 0a42c6df2c Merge pull request #71101 from ClickHouse/imp-mysql-bg-reconnect
Add connection reestablisher to mysql and postgres dictionary pools
2024-12-16 11:30:25 +00:00
Christoph Wurm d984bb51d3 Merge remote-tracking branch 'origin/master' into add_lazy_dict_settings 2024-12-16 10:02:43 +00:00
Christoph Wurm ef02d3b2d8 Change to shared->server_settings 2024-12-16 09:57:22 +00:00
Michael Kolupaev b49ee690c2 Fix refreshable MV crash on shutdown 2024-12-14 02:39:36 +00:00
Yarik BriukhovetskyiandGitHub 4721890f63 Merge pull request #69880 from yariks5s/task_cancellation
Adding a proper query cancels
2024-12-06 14:22:05 +00:00
Miсhael StetsyukandGitHub 4346ccb434 Merge pull request #72637 from ClickHouse/startup-scripts-execution-state
add `StartupScriptsExecutionState` metric
2024-12-05 10:43:04 +00:00
Michael Stetsyuk 6ce9d45392 better 2024-12-04 13:06:41 +00:00
Nikolai Kochetov 6cc668bd88 Add serializetion to some query plan steps. 2024-12-03 15:00:05 +00:00
Michael Stetsyuk 997171a00e add StartupScriptsExecutionState metric 2024-11-29 15:29:07 +00:00
Robert Schulze afa5f42e67 Merge remote-tracking branch 'ClickHouse/master' into skipping-index-cache2 2024-11-28 12:53:48 +00:00
Yarik BriukhovetskyiandGitHub 41f2a4c64b Merge branch 'ClickHouse:master' into task_cancellation 2024-11-27 11:54:46 +01:00
Yarik BriukhovetskyiandGitHub 89f9a8d0a6 Merge branch 'ClickHouse:master' into task_cancellation 2024-11-26 19:11:49 +01:00
Robert Schulze 6a899f97eb Merge remote-tracking branch 'ClickHouse/master' into delete_old_mongodb_integration 2024-11-26 17:33:41 +00:00
Raúl MarínandGitHub dd092411ff Merge pull request #72455 from Algunenano/rename_setting
Rename allowed_feature_tier to allow_feature_tier
2024-11-26 15:54:01 +00:00