Pin 2dsphereIndexVersion to v3 in FCV upgrade downgrade tests

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This [PR](https://github.com/10gen/mongo/pull/47621) added a 2dsphereIndexVersion v4. It is not possible to downgrade FCV from 8.3 to 8.0 in the presence of v4 indexes. The FCV upgrade/downgrade in the background tests are flaky after this change depending on when the downgrade hits in comparison to the rest of the test. This PR attempts to find all jstests that create 2dsphere indexes and pin them to v3 in FCV upgrade downgrade scenarios. I used Cursor to help aid in these modifications.

            Assignee:
            Finley Lau
            Reporter:
            Finley Lau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: