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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Sharding NYC
    • Fully Compatible
    • Sharding NYC 2023-10-02

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: