Replace invariant with uassert in geometry_container

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0, 6.0.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.2, v6.1, v6.0
    • QE 2023-02-06
    • 127
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      invariant in GeometryContainer::contains can crush the server when querying a big polygon with a geospatial index. https://github.com/mongodb/mongo/blob/master/src/mongo/db/geo/geometry_container.cpp#L322

       

              Assignee:
              Ivan Fefer
              Reporter:
              Ivan Fefer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: