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

Update findAndModify_upsert.js to skip checks when staleConfig is thrown

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Cluster Scalability
    • ALL
    • 5

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-cluster-scalability Backlog - Cluster Scalability
            kruti.shah@mongodb.com Kruti Shah
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: