Remove DBConfig::setPrimary

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.4.2, 3.5.2
    • Affects Version/s: 3.5.1
    • Component/s: Sharding
    • None
    • Fully Compatible
    • v3.4
    • Sharding 2017-01-02
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The DBConfig::setPrimary method does a write under the database cache entry's mutex. It is only used as part of the movePrimary command and is better if it resides there and run outside of the mutex.

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

                Created:
                Updated:
                Resolved: