ClickHouse/tests
Azat Khuzhin 0159c74f21 Secure inter-cluster query execution (with initial_user as current query user) [v3]
Add inter-server cluster secret, it is used for Distributed queries
inside cluster, you can configure in the configuration file:

  <remote_servers>
      <logs>
          <shard>
              <secret>foobar</secret> <!-- empty -- works as before -->
              ...
          </shard>
      </logs>
  </remote_servers>

And this will allow clickhouse to make sure that the query was not
faked, and was issued from the node that knows the secret. And since
trust appeared it can use initial_user for query execution, this will
apply correct *_for_user (since with inter-server secret enabled, the
query will be executed from the same user on the shards as on initator,
unlike "default" user w/o it).

v2: Change user to the initial_user for Distributed queries if secret match
v3: Add Protocol::Cluster package
v4: Drop Protocol::Cluster and use plain Protocol::Hello + user marker
v5: Do not use user from Hello for cluster-secure (superfluous)
2020-09-15 01:36:28 +03:00
..
ci Add ASTFuzzer to checks list 2020-09-08 16:31:59 +03:00
config Fix error with executable dictionary source 2020-09-07 09:40:01 +03:00
external_models/catboost
fuzz
instructions
integration Secure inter-cluster query execution (with initial_user as current query user) [v3] 2020-09-15 01:36:28 +03:00
perf_drafts
performance Merge pull request #14710 from ClickHouse/aku/faster-perf 2020-09-14 19:17:34 +03:00
queries Drop policy on start in 01308_row_policy_and_trivial_count_query 2020-09-15 01:36:22 +03:00
testflows Merge pull request #13987 from vitlibar/fix-grant-all-on-table 2020-09-02 05:06:32 +03:00
users.d
.gitignore
clickhouse-client.xml
clickhouse-test Update clickhouse-test 2020-08-27 15:20:59 +03:00
clickhouse-test-server
client-test.xml
CMakeLists.txt
CTestCustom.cmake
decimals_dictionary.xml
ints_dictionary.xml
msan_suppressions.txt
server-test.xml
stress
strings_dictionary.xml
tsan_suppressions.txt
users.xml