diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-09-25 14:08:28 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-09-25 22:13:39 -0400 |
commit | a1f9188b4d58daa4e80a344116dbd85b636962da (patch) | |
tree | bee3a3f252ef90ef97a052a4b07c8621fa31ea5a /src/mongo/db/exec/shard_filter.h | |
parent | e402881e004283d292dd3e483a9df1dbd2b066e2 (diff) | |
download | mongo-a1f9188b4d58daa4e80a344116dbd85b636962da.tar.gz |
SERVER-14668 Use ensureShardVersionOKOrThrow for collection shard version checking
This commit exposes a SendStaleConfigException-based method for checking
shard staleness. This will be used in all methods (other than the batch
executor).
Also clean-up some unnecessary includes.
Diffstat (limited to 'src/mongo/db/exec/shard_filter.h')
-rw-r--r-- | src/mongo/db/exec/shard_filter.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/exec/shard_filter.h b/src/mongo/db/exec/shard_filter.h index aecb31d92b8..556732d0715 100644 --- a/src/mongo/db/exec/shard_filter.h +++ b/src/mongo/db/exec/shard_filter.h @@ -33,7 +33,6 @@ #include "mongo/db/exec/plan_stage.h" #include "mongo/s/chunk_version.h" #include "mongo/s/d_state.h" -#include "mongo/s/stale_exception.h" namespace mongo { |