summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregs <greg@10gen.com>2011-11-10 12:07:32 -0500
committergregs <greg@10gen.com>2011-11-10 12:07:32 -0500
commitcc5021feda652b763060ec94a2142a300d86caad (patch)
tree0a5624cf5fdd73ef5f852621a9b0a8f377230e41
parentbc9d59f5db73efcb6556ee46fe75e45e351fe13d (diff)
downloadmongo-cc5021feda652b763060ec94a2142a300d86caad.tar.gz
SERVER-4242 hide splitter function
-rw-r--r--shell/collection.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/shell/collection.js b/shell/collection.js
index 6fcbeadbc49..cb7035d05cd 100644
--- a/shell/collection.js
+++ b/shell/collection.js
@@ -63,7 +63,6 @@ DBCollection.prototype.help = function () {
print("\tdb." + shortName + ".validate( <full> ) - SLOW");;
print("\tdb." + shortName + ".getShardVersion() - only for use with sharding");
print("\tdb." + shortName + ".getShardDistribution() - prints statistics about data distribution in the cluster");
- print("\tdb." + shortName + ".getSplitKeysForChunks( <maxChunkSize> ) - calculates split points over all chunks and returns splitter function");
return __magicNoPrint;
}
@@ -738,8 +737,8 @@ DBCollection.prototype.getShardDistribution = function(){
}
-
-DBCollection.prototype.getSplitKeysForChunks = function( chunkSize ){
+// In testing phase, use with caution
+DBCollection.prototype._getSplitKeysForChunks = function( chunkSize ){
var stats = this.stats()