Improve handling of large/NaN values for text index version

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical - P2
    • 5.2.0, 4.4.16, 4.2.22, 5.0.11
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4, v4.2
    • Execution Team 2021-12-13
    • 27
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      Similar to SERVER-60607 and SERVER-56676, in order to handle large values, we can use BSONElement::safeNumberInt or BSONElement::safeNumberLong when checking the version of a text index.

            Assignee:
            Shin Yee Tan
            Reporter:
            Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: