SERVER-78414 Apply _transferMods batches until size returned == 0.
It is possible for the entire _transferMods command response to contain changes which aren't relevant for the range being migrated. The recipient shard should continue running the _transferMods command on the donor shard primary in this case until it learns there are no further changes. (cherry picked from commit a8fdfb12)
Showing
- etc/backports_required_for_multiversion_tests.yml 2 additions, 0 deletionsetc/backports_required_for_multiversion_tests.yml
- jstests/sharding/transfer_mods_large_batches.js 103 additions, 0 deletionsjstests/sharding/transfer_mods_large_batches.js
- src/mongo/db/s/migration_destination_manager.cpp 4 additions, 1 deletionsrc/mongo/db/s/migration_destination_manager.cpp
Loading
Please register or sign in to comment