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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding 2019-05-20
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Janna Golden (Inactive)
            Reporter:
            Janna Golden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: