SERVER-137749ClosedFixed

Mark chunk migration batch inserts as internal

_Why:_ During a chunk migration, the recipient inserts the cloned documents. These inserts are recorded like user inserts and inflate the customer's insert stats. _What:_ Stamp the migration batch inserter's opCtx so these inserts report {{isInternal: true}}, while concurrent user writes stay unmarked.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.