28 Commits
Author SHA1 Message Date
zooqueen 12ee47043b datastore: eliminate ALL clickhouse references from the product (no clickhouse, period)
Comprehensive removal across the compiled-product surface (src/programs/base/cmake/configs,
excl contrib third-party + unit tests): URLs clickhouse.com/.tech/.cloud -> hanzo.ai and
github.com/ClickHouse/ClickHouse -> github.com/hanzoai/datastore; fs/zk paths /var/lib/clickhouse
-> /var/lib/datastore, /clickhouse/tables -> /datastore/tables; SQL dict-source keyword
"clickhouse" -> "datastore" (SOURCE(DATASTORE(...)), forwards-only); .clickhouse.hash ELF section
-> .datastore.hash (main.cpp + CMake); hasClickhouse/Clickhouse symbols -> Datastore; all remaining
lowercase clickhouse -> datastore. 175 files. contrib/ (upstream deps) untouched. Build-verify since
this changes the SQL keyword, default paths and the binary-hash section.
2026-06-22 16:33:18 -07:00
zooqueen fce0ee72e1 datastore: fix XML config tag mismatch (</clickhouse> closing tags)
Runtime regression from the final lowercase pass: it renamed <clickhouse> opening tags to
<datastore> but the / exclusion (protecting /clickhouse paths) left </clickhouse> closing tags,
so embedded + shipped configs became <datastore>...</clickhouse> -> SAXParseException 'Tag
mismatch' at runtime (compile was fine; XML is data). Renamed all <clickhouse/</clickhouse XML
tags -> datastore (101 closes across configs, embedded strings, keeper configs). Path strings
(/var/lib/clickhouse) have no angle bracket and are untouched. Build compiled; this fixes runtime
config parsing.
2026-06-22 00:25:01 -07:00
zooqueen 0357c7e3ff datastore rebrand: lowercase clickhouse -> datastore in commands/prose/help
Completes the user-facing branding: lowercase `clickhouse` command/symlink names
(clickhouse-server/-client/-local/...), `clickhouse <subcommand>` usage strings, and bare-word
prose in messages/comments -> datastore (~238 occurrences across 227 files).

Intentionally KEPT (not branding):
- SQL dict-source keyword "clickhouse" (SOURCE(CLICKHOUSE(...)) compat) - 4 sites
- external URLs (clickhouse.com / github.com/ClickHouse)
- filesystem / ZooKeeper path conventions (/var/lib/clickhouse fallback default, /clickhouse/tables/
  ReplicatedMergeTree ZK path) - deployment convention, overridden by our datastore-* config

String/comment-literal changes only; no identifiers touched (verified no bare lowercase clickhouse
C++ symbol exists). Build was already green; verifying this is still green.
2026-06-21 23:46:30 -07:00
zooqueen 332335ddb4 datastore rebrand: standalone "ClickHouse" word -> "Datastore" (prose, strings, comments)
The correct, safe broad rebrand: renames "ClickHouse" only as a whole word (boundary on
BOTH sides), so it rewrites display strings/messages/comments but leaves every compound
C++ symbol intact — `ClickHouseDictionarySource`, `getInfoIfClickHouseDictionarySource`,
`mainEntryClickHouseServer`, `ClickHouseRevision`, `ClickHouse_SOURCE_DIR` are untouched
(an earlier one-sided heuristic mangled suffix symbols like `manageClickHouse`; reverted).
1677 occurrences across 482 files. Compile-safe (string/comment content; symbols preserved).

Still NOT renamed (would be a build-coupled symbol rename, needs build-host iteration): the
199 compound identifiers containing ClickHouse, the `DB::` namespace, the `clickhouse_*`
CMake targets/macros, the lowercase `clickhouse` SQL dictionary-source keyword. Needs build
verification.
2026-06-21 20:10:25 -07:00
vdimir 312fa82006 Merge branch 'master' into vdimir/totp 2026-01-29 13:29:20 +00:00
vdimir c42eb803e6 totp as second factor 2026-01-27 16:49:38 +00:00
vdimirandDenis Kamenskii d618c7cf1d Support TOTP for authentification
Co-authored-by: Denis Kamenskii <[email protected]>
2026-01-22 09:58:04 +00:00
Arsen Muk 4c5de7fe31 Added context for background operations, +tests 2026-01-20 19:06:06 +00:00
Azat Khuzhin bafa45a7b1 Fix applying async_insert from server (via apply_settings_from_server)
The problem is that async_insert is checked during parsing, to know what
to send to the server, even before server settings available. And this
leads to "Unknown packet 11 from server" errors.

So, first approach will be to simply ignore async_insert for
apply_settings_from_server, but this setting is interesting to apply
from the server (since this may have performance impact).

Another is to detect what part of the query we should after server
settings had been received, this patch follows this approach.
2025-04-10 16:37:26 +02:00
Alexey Milovidov 356ae52e9b Enable access and named collections control by default 2023-11-11 08:46:10 +01:00
Oleg V. KozlyukandGitHub e341d8cea3 Add example to users.xml 2023-11-08 03:01:42 +03:00
Alexey MilovidovandGitHub 5802c2fdd2 Merge pull request #40713 from ClickHouse/remove-useless-line
Remove one line from XML, because we do not care
2022-09-11 09:53:30 +03:00
Alexey Milovidov 51dc796275 Remove trash 2022-09-06 02:04:57 +02:00
Alexey Milovidov b7bdd38e41 Revert "Remove trash"
This reverts commit 494dfff73c.
2022-09-06 02:04:36 +02:00
Alexey Milovidov 494dfff73c Remove trash 2022-09-06 02:04:18 +02:00
Alexey Milovidov b42d26acfe Remove one line from XML, because we do not care 2022-08-28 02:44:02 +02:00
mergify[bot]andGitHub bc882ded42 Merge branch 'master' into enable-memory-overcommit 2022-04-05 14:46:18 +00:00
Dmitry Novik b4fed414e3 Enable memory overcommit 2022-04-04 14:28:05 +00:00
Alexey Milovidov 17107cb1dc Update examples and remove obsolete embedded dictionaries from configs 2022-04-03 01:21:48 +02:00
Alexey Milovidov e513a5db32 Change <yandex> to <clickhouse> in configs 2021-09-20 01:38:53 +03:00
Alexey Milovidov 91faa6d03a Add more comments to users.xml #27750 2021-08-17 05:01:03 +03:00
Denis GlazachevandGitHub 290a6d273e Add Kerberos support for authenticating existing users when accessing over HTTP 2021-03-11 23:41:10 +03:00
Alexey Milovidov 4d650a2a56 Adjust config 2021-02-11 16:41:21 +03:00
Alexey Milovidov 063360511a Remove obsolete "incl" from /etc/metrika.xml; correct links in config 2021-01-04 21:01:17 +03:00
Denis Glazachev 848330b37a Expect <ldap_servers> in main config.xml 2020-06-11 02:48:15 +04:00
Denis Glazachev d74f1357d4 Add LDAP authentication support 2020-05-28 01:06:33 +04:00
Vitaly Baranov b71ff6160a Add the "access_management" option to users.xml which enables a user to manage access rights.
The option is turned off by default.
2020-04-07 23:31:54 +03:00
IvanandGitHub 97f2a2213e Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00