Fix `findAndModify_upsert.js` test to accept StaleConfig error

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 7.0.1, 6.0.10, 5.0.21
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding EMEA
    • Fully Compatible
    • v7.0, v6.0, v5.0
    • Sharding EMEA 2023-08-21
    • 25
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It can happen that due to the majority write need when getting metadata from CSRS, if replication is off due to a stepdown, findAndModify gets a StaleConfig error. This behaviour makes sense, so the test should be fixed.

              Assignee:
              Pau Baldillou Salse (Inactive)
              Reporter:
              Pau Baldillou Salse (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: