mergeAllChunksOnShard leaves out recent ranges

What changes in mergeAllChunksOnShard leaves out recent ranges compared with MongoDB and what your application has to do.

This difference is of the Different kind.

What MongoDB does

The window that protects recent chunks is changed on each shard.

What TeselaDB does

It leaves out ranges split or moved in the last 300 seconds. That window cannot be changed.

What your application has to do

Wait five minutes after moving or splitting ranges before merging them.

See also