Commit Graph
1376 Commits
Author SHA1 Message Date
Azat Khuzhin 2abb4692f2 Ignore "Available disk space for logs at server startup is too low" for non-regular files used for logs
Typical examples are:
- /dev/null
- /dev/stdout
- /dev/stderr

Note, that we don't need to check that the file exists, since logger
initialized earlier.
2025-05-22 22:38:24 +02:00
Sergei TrifonovandGitHub a3f0e87322 Merge branch 'master' into alex-dc 2025-05-13 12:51:05 +01:00
János Benjamin Antal c2038a812d Remove format_alter_commands_with_parentheses server setting
The setting was introduced and set false by default in 24.2. It was enabled by default in 25.2. As there are no LTS versions that doesn't support the new format, we can remove the setting.
2025-05-08 13:26:11 +00:00
Bharat Nallan Chakravarthy 6e5345a7d9 validate config during server startup 2025-05-04 13:40:53 -07:00
Alex Katsman 1df1380df2 Make settings controlling connection drop on overloaded CPU hot-reloadable 2025-04-26 22:01:59 +00:00
Alexey Milovidov 7f77cbb9ba Made page cache settings adjustable on a per-query level 2025-04-19 02:34:50 +02:00
Bharat Nallan Chakravarthy 5533156fca better logging 2025-04-15 18:24:28 -07:00
Bharat Nallan Chakravarthy b793489df8 better warning message 2025-04-15 18:17:09 -07:00
Konstantin BogdanovandGitHub 16579a953b Merge pull request #79132 from ClickHouse/lint-openssl-init
Lint OpenSSL initialization
2025-04-14 21:45:53 +00:00
Konstantin Bogdanov c4abcb9542 Lint 2025-04-14 16:47:38 +02:00
Alexey Milovidov e3ff4870ca Merge branch 'master' into clickhouse-local-persistency 2025-04-12 23:12:29 +02:00
Konstantin Bogdanov 678acbafdc Fix OpenSSL early init 2025-04-10 21:33:00 +02:00
Alexey Milovidov 4bcf010bc1 Merge branch 'master' into clickhouse-local-persistency 2025-04-10 02:22:25 +02:00
Han FeiandGitHub 8f76db89ef Merge pull request #77156 from ClickHouse/hanfei/datalake_meatadata_cache
Support Iceberg Metadata Files Cache
2025-04-09 14:12:28 +00:00
Alexey KatsmanandGitHub 1b6ffd5f55 Merge pull request #78778 from alexkats/early-connection-drop
Early connection drop on overloaded CPU
2025-04-09 07:35:39 +00:00
Han Fei c90ea7838b Merge branch 'master' into hanfei/datalake_meatadata_cache 2025-04-07 17:59:29 +00:00
Alex Katsman 5fc131a01a Early connection drop on overloaded CPU 2025-04-07 15:54:47 +00:00
Bharat Nallan Chakravarthy 0121df4fae Merge 'master' into ncb/warning-mutation-long-running 2025-04-06 09:09:47 -07:00
Bharat Nallan Chakravarthy 0afd95e3d1 review fix - better naming 2025-04-04 20:22:57 -07:00
Bharat Nallan Chakravarthy 0bada6b2ad warn on long running mutations 2025-04-03 14:49:05 -07:00
Han Fei 5419dd4a7f refine comments 2025-03-25 12:18:35 +00:00
Han Fei 4aee320a82 fix build 2025-03-25 11:59:20 +00:00
Michael Kolupaev 6890495311 Merge remote-tracking branch 'origin/master' into stoprep 2025-03-25 02:30:45 +00:00
Han Fei e6766469e6 support cache for manifest files 2025-03-24 23:23:21 +00:00
Han Fei a321f6cbf2 Merge branch 'master' into hanfei/datalake_meatadata_cache 2025-03-24 13:53:36 +00:00
Tuan Pham AnhandGitHub 9888bd263c Merge pull request #77365 from tuanpach/support-remote-disk-for-databases
Support remote disk for databases
2025-03-24 05:48:03 +00:00
Alexey Milovidov 1a1b2e7d6e Fix test 2025-03-22 12:11:09 +01:00
Alexey Milovidov 8f3c53d4cd Remove obsolete cache for Hive 2025-03-21 11:34:56 +01:00
Robert SchulzeandGitHub ddee4ac05b Merge pull request #77895 from rschu1ze/remove-mongodb
Remove legacy MongoDB integration
2025-03-20 08:53:30 +00:00
Tuan Pham Anh d2a2c8b388 Support using a remote disk for databases to store metadata files 2025-03-20 03:02:31 +00:00
Alexey MilovidovandGitHub 78fde95cfb Merge pull request #77883 from ClickHouse/shpc
Sharded userspace page cache
2025-03-20 02:19:17 +01:00
Azat KhuzhinandGitHub 05c3edcab4 Merge pull request #74989 from ClickHouse/fix-ssh
Improve the SSH protocol
2025-03-19 20:29:43 +00:00
Robert SchulzeandGitHub 69b0661f22 Merge pull request #77905 from shankar-iyer/add_vector_similarity_index_cache
Add vector similarity index cache
2025-03-19 19:47:53 +00:00
Robert Schulze f5217aeebe Remove legacy MongoDB integration 2025-03-19 09:19:06 +00:00
Shankar Iyer e7c979b541 Revert skipping index cache, new name is vector similarity index cache 2025-03-19 07:18:13 +00:00
Michael Kolupaev 467d5bd906 Merge remote-tracking branch 'origin/master' into stoprep 2025-03-19 05:24:10 +00:00
Michael Kolupaev a55bd052cc Sharded userspace page cache 2025-03-19 02:52:18 +00:00
Nikita Mikhaylov 1ce417f616 Revert "Merge pull request #74473 from ClickHouse/no-ssh"
This reverts commit 6b303014c2, reversing
changes made to 3ddd7c9e90.
2025-03-18 14:53:35 +01:00
Shankar Iyer 3432e3fef8 Reapply "Merge pull request #70102 from rschu1ze/skipping-index-cache2"
This reverts commit 0003892bd0.
2025-03-18 07:56:53 +00:00
Raúl Marín df9ebc8c45 Make a few example binaries smaller 2025-03-14 18:22:03 +01:00
Han Fei ad9f200740 fix build and tests 2025-03-14 14:58:22 +00:00
Han Fei c8801f74c6 Merge branch 'master' into hanfei/datalake_meatadata_cache 2025-03-13 16:36:26 +00:00
Michael Kolupaev 2b227bb508 Merge remote-tracking branch 'origin/master' into stoprep 2025-03-12 23:55:37 +00:00
Nikita MikhaylovandGitHub 81d058b4c1 Merge pull request #77447 from ClickHouse/revert-cache
Revert skipping index cache
2025-03-12 13:53:36 +00:00
Azat KhuzhinandGitHub 8a03e3827b Merge pull request #77438 from azat/empty-database
Forbid empty databases (leaked via default_database)
2025-03-12 06:18:22 +00:00
Nikita Mikhailov 0003892bd0 Revert "Merge pull request #70102 from rschu1ze/skipping-index-cache2"
This reverts commit 3de5611713, reversing
changes made to 987f678400.
2025-03-11 19:16:36 +01:00
Azat Khuzhin eaeaac9082 Forbid empty databases (leaked via default_database)
CI found [1] `LOGICAL_ERROR` for the query `DROP TABLE 13221_rm6`:

    9 0x55e550e8a55d in DB::abortOnFailedAssertion() build_docker/./src/Common/Exception.cpp:48:5
    10 0x55e550e8bc05 in DB::handle_error_code() build_docker/./src/Common/Exception.cpp:70:9
    14 0x55e519a2e1d2 in DB::Exception::Exception<>() build_docker/./src/Common/Exception.h:130:77
    15 0x55e5306e034b in DB::DatabaseCatalog::getDDLGuard() build_docker/./src/Interpreters/DatabaseCatalog.cpp:926:15
    16 0x55e531496823 in DB::InterpreterDropQuery::executeToTableImpl() build_docker/./src/Interpreters/InterpreterDropQuery.cpp:142:72
    17 0x55e531494e39 in DB::InterpreterDropQuery::executeToTable() build_docker/./src/Interpreters/InterpreterDropQuery.cpp:118:16
    18 0x55e531492e47 in DB::InterpreterDropQuery::executeSingleDropQuery() build_docker/./src/Interpreters/InterpreterDropQuery.cpp:91:16
    19 0x55e531492559 in DB::InterpreterDropQuery::execute() build_docker/./src/Interpreters/InterpreterDropQuery.cpp:72:15
    20 0x55e531c0c9fd in DB::executeQueryImpl() build_docker/./src/Interpreters/executeQuery.cpp:1459:40
    21 0x55e531c021ee in DB::executeQuery() build_docker/./src/Interpreters/executeQuery.cpp:1626:19

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/0/5b0fb3e3dff551c7bc3150083db1622c229825fb/libfuzzer_tests.html

The problem is taht fuzzer does not install empty database, and this
problem exists even for clickhouse-local

Fix this by adding some checks and initialize database for fuzzer.
2025-03-11 16:11:24 +01:00
Bharat Nallan Chakravarthy 2a445b133b formatting fixes 2025-03-10 22:14:46 -07:00
Bharat Nallan Chakravarthy d8414fbada minor fixes 2025-03-10 19:02:57 -07:00
Bharat Nallan Chakravarthy 763b132573 Merge master into ncb/improve-system-warnings 2025-03-10 14:37:23 -07:00