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

better assert message

This commit is contained in:
Alberto Lerner 2010-09-01 21:15:16 -04:00
parent 88edf8f439
commit 0f5e389c3e

View File

@ -841,7 +841,7 @@ namespace mongo {
DistributedLock lockSetup( ConnectionString( configServer.modelServer() , ConnectionString::SYNC ) , getns() );
dist_lock_try dlk( &lockSetup , "drop" );
uassert( 13331 , "locking namespace failed" , dlk.got() );
uassert( 13331 , "collection's metadata is undergoing changes. Please try again." , dlk.got() );
uassert( 10174 , "config servers not all up" , configServer.allUp() );