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

Cluster query and write without shard key commands should log at higher verbosity

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sharding NYC
    • Fully Compatible
    • Sharding NYC 2023-10-02

      Both cluster query without shard key and cluster write without shard key log that they are running at the default verbosity level, so each updateOne without shard key will log at least twice. We could raise the debug level for these logs so they don't run by default, which should reduce log spam and slightly improve performance.

            Assignee:
            jason.zhang@mongodb.com Jason Zhang
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: