Replace invariant with assertion and add more details

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.5
    • Affects Version/s: 8.1.0-rc0, 8.0.3
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • v8.0
    • QE 2024-12-09
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The invariantĀ 
      invariant(MatchExpression::AND == textFilterMe->matchType()) in planner_access.cpp apparently can be triggered and fail (see AF-1162). When it does, we should not crash the server, but rather return an error and provide some debug information, like serialise the filter or the whole text node in question.

              Assignee:
              Romans Kasperovics
              Reporter:
              Romans Kasperovics
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: