summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorgregs <greg@10gen.com>2011-06-03 16:23:36 -0400
committergregs <greg@10gen.com>2011-06-03 17:15:25 -0400
commit6a1bc036308fdd1b867a072e5ba70afc04556e07 (patch)
tree176131a27a6e9e0b99a7c2f78bef6c0b7a3644f9 /client
parente329ba1baea62adcca1a2882592cbc1df89f9d31 (diff)
downloadmongo-6a1bc036308fdd1b867a072e5ba70afc04556e07.tar.gz
dbGetMore needs to filter out newly migrated results SERVER-3086
Diffstat (limited to 'client')
-rw-r--r--client/parallel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/parallel.cpp b/client/parallel.cpp
index b50807f99a4..94c38205c5e 100644
--- a/client/parallel.cpp
+++ b/client/parallel.cpp
@@ -438,6 +438,8 @@ namespace mongo {
// we can't cleanly release other sockets
// because there is data waiting on the sockets
// TODO: should we read from them?
+ // TODO: we should probably retry as well in this case, since a migrate commit means another
+ // migrate will take some time to complete.
// we can close this one because we know the state
conns[me]->done();
throw StaleConfigException( _ns , "ClusteredCursor::query ShardConnection had to change" , true );