Skip to content

Commit

Permalink
Fix comments and typos
Browse files Browse the repository at this point in the history
  • Loading branch information
voldemort committed Jun 21, 2013
1 parent 3d8eb81 commit 155b934
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/generate_cluster_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
# --http-port <port no>
# --current-stores <current_stores.xml>
# --output-dir <output directory>
# Note the absence of the --zones switch
#
# Note the absence of the --zones switch for the non zoned cluster use case.

import sys
import random
Expand Down Expand Up @@ -169,7 +170,7 @@
print >> fileHandle, " <proximity-list>%s</proximity-list>" % str(proximityList).strip('[]')
print >> fileHandle, " </zone>"

# TODO : Currently, random partitions are assigned to the nodes in a round robine fashion.
# TODO : Currently, random partitions are assigned to the nodes in a round robin fashion.
# A better approach would be to have some intelligence in the allocation such that
# consecutive partition-ids do not land on the same node.

Expand Down

0 comments on commit 155b934

Please sign in to comment.