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

Update log_format_slowms_samplerate_loglevel.js for mongos reporting data-bearing node metrics in slow query logs

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Service Arch
    • Fully Compatible
    • v8.0
    • Service Arch 2024-04-29

      In log_format_slowms_samplerate_loglevel.js, the test checks if the connection is mongos or mongod before determining which fields should be present in the slow query logs. With data-bearing node metrics, we would expect all except for keysInserted, keysDelted, and planSummary to appear, though this doesn't seem to be the case for all of the queries the test uses. We should update the test to check for what mongos reports with data-bearing node metrics and investigate any fields that are unexpectedly missing.

            Assignee:
            ryan.berryhill@mongodb.com Ryan Berryhill
            Reporter:
            ryan.berryhill@mongodb.com Ryan Berryhill
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: