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

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Sharding 2021-03-08
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Kaloian Manassiev
              Reporter:
              Kaloian Manassiev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: