summaryrefslogtreecommitdiff
path: root/s/strategy_shard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 's/strategy_shard.cpp')
-rw-r--r--s/strategy_shard.cpp4
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();