Relax restriction that changing a document's shard key value must have a transaction number

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding NYC
    • Fully Compatible
    • Sharding 2022-07-11, Sharding 2022-07-25, Sharding 2022-08-08
    • 151
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Updates/findAndModifies that change a document's shard key value require the user ran the operation in a retryable write or transaction so there's either an active transaction or a transaction number to use for a spawned internal transaction that atomically deletes and inserts the document. We can now use the transaction API to remove this restriction, since writes without a transaction number will create an internal session for the transaction so there's no need to reuse a client provided transaction number.

              Assignee:
              [DO NOT USE] Backlog - Sharding NYC
              Reporter:
              Jack Mulrow
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: