mirror of
https://github.com/20kaushik02/real-time-traffic-analysis-clickhouse.git
synced 2026-01-25 16:04:04 +00:00
error correction wrt autonomous sharding script
This commit is contained in:
@@ -46,11 +46,13 @@ elif [[ $masterNode ]]; then
|
||||
-c ../clickhouse/docker-compose.yaml \
|
||||
-c ../ui/docker-compose.yaml \
|
||||
$stackName
|
||||
elif [[ $autoShard ]]; then
|
||||
cd $scriptDir
|
||||
python3 $scriptDir/../clickhouse/config_update_scripts/update_trigger.py
|
||||
else
|
||||
echo "[+] swarm follower"
|
||||
echo "[+] joining swarm with token $swarmToken"
|
||||
$dockerCmd swarm join --token $swarmToken $managerAddr
|
||||
fi
|
||||
|
||||
if [[ $autoShard ]]; then
|
||||
cd $scriptDir
|
||||
python3 ../clickhouse/config_update_scripts/update_trigger.py
|
||||
fi
|
||||
Reference in New Issue
Block a user