Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Buildbot prefix_shard_key.js make sure multi-key doc is removed befor…

…e index build
  • Loading branch information...
commit 7525d654b9b741be6848a8eac29b6c69b3ee2a03 1 parent eb9b36b
@stbrody stbrody authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  jstests/sharding/prefix_shard_key.js
View
2  jstests/sharding/prefix_shard_key.js
@@ -69,7 +69,9 @@ printjson( result4 );
assert.eq( 0, result4.ok , "moveChunk succeeded without a usable index");
coll.remove({ num : 100 });
+db.getLastError();
coll.reIndex();
+db.getLastError();
var result4 = admin.runCommand( { movechunk : coll.getFullName() , find : { num : 70 } , to : s.getOther( s.getServer( "test" ) ).name } );
printjson( result4 );
assert.eq( 1, result4.ok , "moveChunk failed after rebuilding index");
Please sign in to comment.
Something went wrong with that request. Please try again.