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

Update findAndModify_upsert.js to skip checks when staleConfig is thrown

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc14
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v8.0
    • 0

      When findAndModify throws staleConfig, it will not return a value field in the response with the document that the concurrency test expects to be present to confirm that a doc was upsertedĀ here. Change this logic to only check the upserted document value when res.value is defined and not null.

            Assignee:
            kruti.shah@mongodb.com Kruti Shah
            Reporter:
            kruti.shah@mongodb.com Kruti Shah
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: