mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-24 02:30:51 +00:00
9bcc5a6175
Restarting a server instance to change the interserver password results in many replicas being out of sync until all clusters are using the new credential. This commit adds dynamic credential loading for both the client (Replicated* tables) and server (InterserverIOHTTPHandler). This commit also adds the ability to rotate credentials, i.e. accept more than one credential during a credential change. state0 (no auth): <interserver_http_credentials /> state1 (auth+allow_empty migration): <interserver_http_credentials> <user>admin</user> <password>222</password> <allow_empty>true</allow_empty> </interserver_http_credentials> state2 (auth+new admin password migration): <interserver_http_credentials> <user>admin</user> <password>333</password> <users> <admin>222</admin> </users> </interserver_http_credentials> |
||
---|---|---|
.. | ||
benchmark | ||
client | ||
compressor | ||
copier | ||
extract-from-config | ||
format | ||
git-import | ||
install | ||
local | ||
obfuscator | ||
odbc-bridge | ||
server | ||
clickhouse-split-helper | ||
CMakeLists.txt | ||
config_tools.h.in | ||
main.cpp | ||
ya.make |