percona-monitoring-plugins icon indicating copy to clipboard operation
percona-monitoring-plugins copied to clipboard

pmp-check-mongo: fixed check_balance

Open jkramarz opened this issue 6 years ago • 0 comments

Shards' names has small chance to be properly balanced, using number of chunks in shard may be a better option ;-)

>>> for i in {u'bdd4b386': 5, u'ba142fa9': 5, u'5904c137': 4}:
...   print(i)
... 
bdd4b386
ba142fa9
5904c137

jkramarz avatar Sep 04 '18 14:09 jkramarz