ClickHouse/programs
John Skopis 9bcc5a6175 Support interserver credential rotation
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>
2021-01-04 09:59:09 +00:00
..
benchmark More forward declaration for generic headers 2020-12-12 17:43:10 +03:00
client Merge branch 'master' into parallel-parsing-input-format 2020-12-31 06:16:43 +04:00
compressor compressor: remove extra check for seeking of input 2020-12-31 22:13:04 +03:00
copier More forward declaration for generic headers 2020-12-12 17:43:10 +03:00
extract-from-config Refactor CMake build files (#11390) 2020-06-09 13:54:49 +03:00
format Fix bug: no newline after exception message in some tools 2020-12-24 00:18:08 +03:00
git-import Fix error (CC @akuzm) 2020-12-19 01:07:52 +03:00
install Update Install.cpp 2020-12-18 06:17:23 +03:00
local Added queries-file parameter. Fixed code review issues 2020-12-07 19:29:17 +03:00
obfuscator better formatfactory 2020-12-30 06:07:30 +03:00
odbc-bridge better formatfactory 2020-12-30 06:07:30 +03:00
server Support interserver credential rotation 2021-01-04 09:59:09 +00:00
clickhouse-split-helper Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
CMakeLists.txt Return clickhouse-git-import 2020-12-19 00:19:11 +03:00
config_tools.h.in Add git-import as a tool 2020-09-07 06:22:47 +03:00
main.cpp MADV_DONTNEED check in runtime for qemu (via patching jemalloc) 2020-12-19 15:34:12 +03:00
ya.make Follow Arcadia ya.make rules 2020-11-16 21:24:58 +03:00