mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Merge pull request #41143 from ClickHouse/fix_int8_test_standalone_keeper_mode
Fix: integration test, standalone keeper mode
This commit is contained in:
commit
d947ab6aee
@ -8,6 +8,9 @@ services:
|
||||
- type: bind
|
||||
source: ${keeper_binary:-}
|
||||
target: /usr/bin/clickhouse
|
||||
- type: bind
|
||||
source: ${keeper_binary:-}
|
||||
target: /usr/bin/clickhouse-keeper
|
||||
- type: bind
|
||||
source: ${keeper_config_dir1:-}
|
||||
target: /etc/clickhouse-keeper
|
||||
@ -38,6 +41,9 @@ services:
|
||||
- type: bind
|
||||
source: ${keeper_binary:-}
|
||||
target: /usr/bin/clickhouse
|
||||
- type: bind
|
||||
source: ${keeper_binary:-}
|
||||
target: /usr/bin/clickhouse-keeper
|
||||
- type: bind
|
||||
source: ${keeper_config_dir2:-}
|
||||
target: /etc/clickhouse-keeper
|
||||
@ -68,6 +74,9 @@ services:
|
||||
- type: bind
|
||||
source: ${keeper_binary:-}
|
||||
target: /usr/bin/clickhouse
|
||||
- type: bind
|
||||
source: ${keeper_binary:-}
|
||||
target: /usr/bin/clickhouse-keeper
|
||||
- type: bind
|
||||
source: ${keeper_config_dir3:-}
|
||||
target: /etc/clickhouse-keeper
|
||||
|
@ -792,7 +792,9 @@ class ClickHouseCluster:
|
||||
binary_dir = os.path.dirname(self.server_bin_path)
|
||||
|
||||
# always prefer clickhouse-keeper standalone binary
|
||||
if os.path.exists(os.path.join(binary_dir, "clickhouse-keeper")):
|
||||
if os.path.exists(
|
||||
os.path.join(binary_dir, "clickhouse-keeper")
|
||||
) and not os.path.islink(os.path.join(binary_dir, "clickhouse-keeper")):
|
||||
binary_path = os.path.join(binary_dir, "clickhouse-keeper")
|
||||
keeper_cmd_prefix = "clickhouse-keeper"
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user