pull/43/head
Minh Doan 6 years ago
parent 11aa765036
commit e22d5121a1
  1. 2
      aws-experiment-launch/new-pipeline/utils/utils.py

@ -144,7 +144,7 @@ def generate_distribution_config(shard_number, client_number, ip_list, distribut
if commander_id < 1: if commander_id < 1:
fout.write("%s 9000 commander %d %s\n" % (ip, commander_id, node_name_tag)) fout.write("%s 9000 commander %d %s\n" % (ip, commander_id, node_name_tag))
commander_id = commander_id + 1 commander_id = commander_id + 1
if leader_id < shard_number: elif leader_id < shard_number:
fout.write("%s 9000 leader %d %s\n" % (ip, leader_id, node_name_tag)) fout.write("%s 9000 leader %d %s\n" % (ip, leader_id, node_name_tag))
leader_id = leader_id + 1 leader_id = leader_id + 1
elif validator_id < validator_number: elif validator_id < validator_number:

Loading…
Cancel
Save