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

Do not expose stale errors to user when changing document shard key

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding 2019-05-20

    Description

      When changing a document's shard key, mongos starts a transaction if the original update was sent as a retryable write. If this transaction fails, mongos reports to the user whatever error the shard reported. If the shard reports a stale error however, we should not report this to the user.

      Attachments

        Activity

          People

            janna.golden@mongodb.com Janna Golden
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: