Skip to content

Commit 579c13d

Browse files
committed
SERVER-12392: add invariant around DummyRunner
1 parent 153d410 commit 579c13d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mongo/s/d_migrate.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ namespace mongo {
399399
return false;
400400
}
401401

402+
invariant( _dummyRunner.get() == NULL );
402403
_dummyRunner.reset( new DummyRunner( _ns, collection ) );
403404

404405
IndexDescriptor *idx =

0 commit comments

Comments
 (0)