SERVER-139341Backlog

Add batch buffering for WiredTiger record store cursors

The implementation of WiredTigerRecordStoreCursor should internally buffer up to `maxBatch` when `next` is called on that cursor.  Records should be returned from that batch until it is exhausted or invalidated.

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.