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

Find command can fail with DataCorruptionDetected if there is an update shard key operation in progress

    XMLWordPrintable

    Details

    • Operating System:
      ALL

      Description

      SERVER-37364 made the transaction coordinator return the decision as soon as the decision is persisted. As a result, the client is no longer guaranteed to see the effects of the transaction immediately after the commitTransaction returns. Based on this evergreen patch, a find command that is run immediately after an update shard key operation (but before the transaction finishes committing in the background) can fail with DataCorruptionDetected error (added in SERVER-40620).

        Attachments

          Activity

            People

            Assignee:
            backlog-server-storage-engines Backlog - Storage Engines Team
            Reporter:
            cheahuychou.mao Cheahuychou Mao
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Dates

              Created:
              Updated: