mongodb/support-tools — pull request #2 by adkomyagin (2014-01-29 21:23:05+00:00)
Title: Traverse config.chunks in {min:1} order

This will allow us not to miss any new chunks created by splits.

Also we can keep track of the latest max, effeciently checking if
the current chunk is a subrange that we've already seen. I use
bsonWoCompare() to compare bson objects, so mongo shell from 2.5.3
or better is needed.