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

Remove usages of the StaleShardVersion error code from the migrations path

    • Fully Compatible
    • Sharding EMEA 2022-02-21, Sharding EMEA 2022-03-07, Sharding EMEA 2022-03-21

      The StaleShardVersion error code has been supplanted by StaleConfig which contains a lot more information necessary in order to advance the logical clock of the collection versions. From 6.0 onward there should be no new usages of StaleShardVersion and instead everything should use StaleConfig which eventually will become on par with WriteConflictException.

      This ticket is about switching all non-backwards compatibility-breaking usages of StaleShardVersion to StaleConfig in preparation for throwing it out in 6.1.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: