diff --git a/s/d_state.cpp b/s/d_state.cpp index f64f87f1ef522..39d84b6ff886e 100644 --- a/s/d_state.cpp +++ b/s/d_state.cpp @@ -687,6 +687,11 @@ namespace mongo { if ( ! shardingState.enabled() ) return true; + if ( ! isMasterNs( ns.c_str() ) ) { + // right now connections to secondaries aren't versioned at all + return true; + } + ShardedConnectionInfo* info = ShardedConnectionInfo::get( false ); if ( ! info ) {