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

Cluster createIndexes command should pass error labels to client.

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.3
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2020-01-13, Execution Team 2020-01-27

    Description

      SERVER-44997 blacklists createIndexes from running in a suite that performs multi document transactions and triggers retryable errors. These failures occurred because in order to retry an error caught inside a transaction in this suite, the TransientTransactionError label needs to be present.

      mongos does not look at error labels when parsing command responses from shards for createIndexes.
      As a result, the result that gets sent back to the client does not contain the requisite error label, even if the original shard response did.

      The error labels should be propagated back to the client to allow retryability.

      The work for this ticket should consider any potential Upgrade/Downgrade repercussions.

      Attachments

        Activity

          People

            maria.vankeulen@mongodb.com Maria van Keulen
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: