Add a resharding utility function to determine whether a write should be run in a distributed transaction

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2020-11-16, Sharding 2020-11-30
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Add a utility function to ScopedCollectionDescription that will return whether a write must be run in a distributed transaction. This function should return true if the 'state' field in reshardingFields is any of 'preparingToMirror', 'mirroring', 'committed', 'renaming', or 'dropping'.

      If any of these states on startup, automatically queue writes for distributed transactions.

              Assignee:
              Vishnu Kaushik
              Reporter:
              Blake Oler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: