mongodb/mongo-java-driver — pull request #61 by drapp (2012-02-06 19:21:13+00:00)
Title: Add support for sharding on individual collections.

Change by Miles O'Connor.

This commits a general method to run a command the first time a mongo instance interacts with a db, which is specifically used to enable sharding on individual collections. We'd love to know if there's a better way to do this.