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

Allow retryable write in resharding_replicate_updates_as_insert_delete.js to fail with ShardCannotRefreshDueToLocksHeld

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v5.0
    • Sharding 2021-09-20
    • 113
    • 1

    Description

      The retryable write to update the shard key value under the new key pattern is implicitly converted into a multi-statement transaction. If the multi-statement transaction fails due to the donor shard not having the routing information for the temporary resharding collection loaded, then mongos won't automatically retry it. ShardCannotRefreshDueToLocksHeld should therefore be considered an acceptable error.

      Attachments

        Activity

          People

            brett.nawrocki@mongodb.com Brett Nawrocki
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: