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

writeQueryStats should log an error rather than uassert when the feature flag is disabled

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.1, 7.3.0-rc0, 7.0.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.2, v7.1, v7.0
    • QI 2024-01-08, QI 2024-01-22
    • 100

      It is possible that the query stats feature flag was enabled when a request was first registered, but that the feature flag had been disabled before reaching writeQueryStats, in which it throws a uassert. That uassert causes issues that manifest into BF-30856. We should log an error rather than uassert.

            Assignee:
            will.buerger@mongodb.com Will Buerger
            Reporter:
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: