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

moveChunk in multi_stmt_txn_jscore_passthrough_with_migration can cause failures when mongos retries commands that are not idempotent

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Sharding 2020-03-09, Sharding 2020-03-23, Sharding 2020-04-06
    • Linked BF Score:
      9

      Description

      An example scenario with dropIndex with 2+ shards:

      1. test sends dropIndex to mongos.
      2. dropIndex successfully runs in shard0.
      3. dropIndex returns StaleConfig error in shard1 because of migration.
      4. Mongos retries dropIndex but got index does not exist error because it is already dropped in shard0.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              blake.oler Blake Oler
              Reporter:
              renctan Randolph Tan
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: