SERVER-138186Open

TTL resume skips owned documents that share an index key with more than ttlIndexDeleteTargetDocs unowned documents

After SERVER-92779, a batched TTL delete on a secondary index resumes from the index key of the last staged document. If an attempt stages only entries equal to that key and deletes none of them, the next attempt starts after the key, because SortedDataInterface::Cursor cannot seek to a (key, RecordId) position. Owned expired documents that share that exact key and sort after the first {{ttlIndexDeleteTargetDocs}} unowned documents by RecordId are skipped for the rest of the pass. Every pass rep

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.