diff options
author | Randolph Tan <randolph@10gen.com> | 2013-01-14 15:48:51 -0500 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2013-01-14 16:47:59 -0500 |
commit | 4c803ee9e211b81ba0aea185c2f320aa02e27646 (patch) | |
tree | 1ecf9dcf76088fa78e48a9567223c3f3276faaea /src | |
parent | a1119f9a193ef812c17012fb41a77698f9933266 (diff) | |
download | mongo-4c803ee9e211b81ba0aea185c2f320aa02e27646.tar.gz |
SERVER-8165 Wrong contant being passed to broadcastWrite for deletes
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/s/strategy_shard.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/s/strategy_shard.cpp b/src/mongo/s/strategy_shard.cpp index 1d2515ba5cd..e1fb4e555f5 100644 --- a/src/mongo/s/strategy_shard.cpp +++ b/src/mongo/s/strategy_shard.cpp @@ -1192,8 +1192,7 @@ namespace mongo { int * x = (int*)(r.d().afterNS()); x[0] |= RemoveOption_Broadcast; // this means don't check shard version in mongod - // TODO: Why is this an update op here? - broadcastWrite( dbUpdate, r ); + broadcastWrite(dbDelete, r); return; } |