From a1f9188b4d58daa4e80a344116dbd85b636962da Mon Sep 17 00:00:00 2001 From: Kaloian Manassiev Date: Thu, 25 Sep 2014 14:08:28 -0400 Subject: 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. --- src/mongo/db/exec/shard_filter.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mongo/db/exec/shard_filter.h') 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 { -- cgit v1.2.1