SERVER-133740In Progress

Log the number of documents modified by sub-operations in a bulk write

When a slow query log is emitted for a operation within a bulkWrite, it appears that the number of documents modified by that operation is not logged (see [this comment|https://jira.mongodb.org/browse/HELP-98158?focusedCommentId=8779035&focusedId=8779035&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-8779035] for an example of a batched update that is not reporting nModified. This could be because each statement in the bulkwrite command has its own nested CurOp.

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
storex-ops