0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

Fix printShardingStatus()

This commit is contained in:
Mathias Stearn 2010-04-29 19:50:54 -04:00
parent ea0fbff07b
commit 97aa0c2837

View File

@ -309,7 +309,7 @@ printShardingStatus = function( configDB ){
output( "\t\tmy chunks" );
configDB.chunks.find( { "ns" : new RegExp( "^" + z.name ) } ).sort( { ns : 1 , min : 1 } ).forEach(
configDB.chunks.find( { "ns" : new RegExp( "^" + z._id ) } ).sort( { ns : 1 , min : 1 } ).forEach(
function(z){
output( "\t\t\t" + z.ns + " " + tojson( z.min ) + " -->> " + tojson( z.max ) +
" on : " + z.shard + " " + tojson( z.lastmod ) );