Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29794

Adding a comment to all commands

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Logging
    • Labels:
    • Fully Compatible
    • Query 2019-07-29, Query 2019-08-12, Query 2019-08-26, Query 2019-09-09, Query 2019-09-23, Query 2019-10-07
    • 46

      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().

            arun.banala@mongodb.com Arun Banala
            james.phelan@mongodb.com James Phelan (Inactive)
            5 Vote for this issue
            13 Start watching this issue