summaryrefslogtreecommitdiff
path: root/src/mongo/s/strategy.cpp
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2014-06-02 17:59:40 -0400
committerRandolph Tan <randolph@10gen.com>2014-06-06 10:31:49 -0400
commit7915e212dc903f8d65b5c67d3c1bc501e0d3e610 (patch)
treef2c52ab9345f6622d5c351478b74c26f9d6cd646 /src/mongo/s/strategy.cpp
parent0d5acb0e3a6b0f1cdf7f252aa9a13afb1e884848 (diff)
downloadmongo-7915e212dc903f8d65b5c67d3c1bc501e0d3e610.tar.gz
SERVER-11256 improve handling of empty vs nonexistent CollectionMetadata
Remove long constructor for ChunkVersion
Diffstat (limited to 'src/mongo/s/strategy.cpp')
-rw-r--r--src/mongo/s/strategy.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/s/strategy.cpp b/src/mongo/s/strategy.cpp
index fcca41f719d..5a74016dc80 100644
--- a/src/mongo/s/strategy.cpp
+++ b/src/mongo/s/strategy.cpp
@@ -106,7 +106,10 @@ namespace mongo {
if ( qr->resultFlags() & ResultFlag_ShardConfigStale ) {
dbcon.done();
// Version is zero b/c this is deprecated codepath
- throw RecvStaleConfigException( r.getns() , "Strategy::doQuery", ChunkVersion( 0, OID() ), ChunkVersion( 0, OID() ) );
+ throw RecvStaleConfigException( r.getns(),
+ "Strategy::doQuery",
+ ChunkVersion( 0, 0, OID() ),
+ ChunkVersion( 0, 0, OID() ));
}
}