SERVER-134234ClosedDone

Investigate improvements to OplogWriter for large oplog entries

The thread which takes fetched entries and writes them to the oplog collection before sending them to the apply buffer is single threaded, and only grabs oplog entries up to 16MB before writing them and sending to the apply buffer. If we have a scenario (resharding is a common case) where we have a large amount of big oplog entries (~5MB each) then we are only able to write a couple of entries into the oplog at a time, which turns the writer thread into the bottleneck, which can cause Replica

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.