diff options
author | David Storch <david.storch@10gen.com> | 2015-09-21 18:26:40 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2015-09-22 14:35:12 -0400 |
commit | b1982bb7fb610def9b23ab08b0317e6f409c1784 (patch) | |
tree | 1d2785f123e930cc5fd3e1be00239ca5deee6b78 /jstests/sharding/auto2.js | |
parent | 32e552cd97e63ca68beeef69670e27c6c19f70c2 (diff) | |
download | mongo-b1982bb7fb610def9b23ab08b0317e6f409c1784.tar.gz |
SERVER-20194 use the new mongos query path by default for legacy OP_QUERY/OP_GET_MORE reads
Explicitly configures yet-to-be-debugged tests to use the old mongos query path
by setting useClusterClientCursor=false.
Diffstat (limited to 'jstests/sharding/auto2.js')
-rw-r--r-- | jstests/sharding/auto2.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jstests/sharding/auto2.js b/jstests/sharding/auto2.js index f803f4000f7..ff4c44b2b4f 100644 --- a/jstests/sharding/auto2.js +++ b/jstests/sharding/auto2.js @@ -6,6 +6,9 @@ s.adminCommand( { enablesharding : "test" } ); s.ensurePrimaryShard('test', 'shard0001'); s.adminCommand( { shardcollection : "test.foo" , key : { num : 1 } } ); +// TODO: SERVER-20194. This test forces use of the old mongos query path. +assert.commandWorked(s.s0.adminCommand({setParameter: 1, useClusterClientCursor: false})); + bigString = ""; while ( bigString.length < 1024 * 50 ) bigString += "asocsancdnsjfnsdnfsjdhfasdfasdfasdfnsadofnsadlkfnsaldknfsad"; |