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

The Sharding Routing Info Stability DistLock doesn't offer the assumed protection

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2021-03-08

      Description

      We added the Sharding Info Stability DistLock with the idea that it was going to serve as a barrier between DDL operations which use the old vs new metadata format. However, it doesn't actually provide the assumed protection, because even though two different shards could hold it, the first one to release it will release it for everyone.

      Because of this we should remove it and implement a proper protection mechanism based on 2-Phase FCV or something similar.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kaloian.manassiev Kaloian Manassiev
              Reporter:
              kaloian.manassiev Kaloian Manassiev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: