The following proposed feature request would allow comments to be added to bulk operations. The comment should behave similar to cursor.comment().
The requested functionality is as follows:
- Allow a configurable comment be added to bulk.execute() commands.
- When using a sharded collection if the bulk operation is directed at more than one shard the same comment should appear for the bulk operation across all shards.
- If a more verbose log level is enabled that shows the individual operation for the bulk operation the same comment should be present on these individual operations.
- The comment should appear in the mongod logs, system.profile and db.currentOp().
- causes
-
SERVER-58403 Serialize concurrent accesses to `OperationContext::_comment`
- Closed
- is depended on by
-
SERVER-39951 Change existing $out tests to use comment propagated from parent aggregation
- Backlog
-
DRIVERS-742 Add support for the comment field to all helpers
- Closed
- is duplicated by
-
SERVER-33716 $comment is internally converted to a string
- Closed
-
SERVER-33118 Allow top-level comment field on commands
- Closed
-
SERVER-39955 Add support for a "comment" parameter to commit transaction
- Closed
- is related to
-
SERVER-39955 Add support for a "comment" parameter to commit transaction
- Closed
- related to
-
SERVER-45002 Addition of "comment" field to getMore breaks agg commands with comment during upgrade of sharded cluster
- Closed
-
SERVER-63315 Count command only accepts a string comment but should accept any BSON type in 4.4
- Closed
-
SERVER-43284 Extend shell helpers to allow setting 'comment' field to all commands.
- Backlog
-
SERVER-36441 Don't truncate 'comment' command parameter in the slow query logs
- Backlog
-
SERVER-45579 Remove FCV check guarding addition of "comment" field to remote command requests
- Closed