diff options
author | Antonin Kral <a.kral@bobek.cz> | 2010-09-24 19:01:03 +0200 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2010-09-24 19:01:03 +0200 |
commit | 0ad0c09511a04ebe837f2acb859d47f2aa4e038a (patch) | |
tree | 109babcb556f6c5884b77853120717f0617c7a1e /s/strategy_shard.cpp | |
parent | 03e58f81cad8dd4cfcd1530f327116f0cff6ceb3 (diff) | |
download | mongodb-0ad0c09511a04ebe837f2acb859d47f2aa4e038a.tar.gz |
Imported Upstream version 1.6.3
Diffstat (limited to 's/strategy_shard.cpp')
-rw-r--r-- | s/strategy_shard.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/s/strategy_shard.cpp b/s/strategy_shard.cpp index 91759fd..144bf79 100644 --- a/s/strategy_shard.cpp +++ b/s/strategy_shard.cpp @@ -196,7 +196,7 @@ namespace mongo { if ( multi ){ } else if ( strcmp( query.firstElement().fieldName() , "_id" ) || query.nFields() != 1 ){ - throw UserException( 8013 , "can't do update with query that doesn't have the shard key" ); + throw UserException( 8013 , "can't do non-multi update with query that doesn't have the shard key" ); } else { save = true; @@ -282,7 +282,7 @@ namespace mongo { if ( left <= 0 ) throw e; left--; - log() << "update failed b/c of StaleConfigException, retrying " + log() << "delete failed b/c of StaleConfigException, retrying " << " left:" << left << " ns: " << r.getns() << " patt: " << pattern << endl; r.reset( false ); shards.clear(); |