Ignore $query stats errors due to fcv changes on the $queryStats aggregation path

XMLWordPrintableJSON

    • Query Integration
    • Fully Compatible
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We already surface errors in $queryStats on the creation of the key as a uassert rather than a tassert to avoid creating fatal failures.

      It's possible for failures to occur when re-parsing the key during output of $queryStats toDocument() due to fcv changes between when the key was created and when its trying to be read so reparsing of the shape errors. We can surface errors during $queryStats as a uassert as well and catch and throw specific error codes similar to the first creation of the key.

            Assignee:
            Joe Shalabi
            Reporter:
            Erin Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: