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

Update rounding functions in S2 geometry library

    • Minor Change
    • v7.0, v6.3, v6.0, v5.0, v4.4, v4.2
    • QE 2023-05-15

      This ticket updates rounding functions in S2 geometry library to obey 'round to even' behavior across all platforms when generating geospatial index keys. Previously, ARM/non-x86 arches had followed 'round half up' semantics. As a result, non-x86 platforms which upgrade to a version which contains this patch may report extra geospatial index keys when the 'validate' command is run. These extra geospatial keys can be removed by rebuilding any effective indexes. Finally, note that once SERVER-77241 is implemented, this scenario will be detected and reported as part of the validate command.

            Assignee:
            mihai.andrei@mongodb.com Mihai Andrei
            Reporter:
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: