telemetry parsing accidentally ignores let

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • QO 2023-05-01
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      While trying to re-enable testing in SERVER-75596, I hit an error case where a find command with a reference to an unknown variable cannot be reported in telemetry. It came from this command:

      {
        "find":"command_let_variables",
        "filter":{},
        "let":{"a":{"$rand":{}}},
        "projection":{"_id":"$$a"}
      }
      

      This suggests our re-parsing needs to examine the 'let' variables to parse correctly.

            Assignee:
            Charlie Swanson
            Reporter:
            Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: