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

Fix `findAndModify_upsert.js` test to accept StaleConfig error

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Pau Baldillou Salse (Inactive)
            Reporter:
            pau.baldillou-salse@mongodb.com Pau Baldillou Salse (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: