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

Remove DBConfig::setPrimary

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.5.1
    • Fix Version/s: 3.4.2, 3.5.2
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.4
    • Sprint:
      Sharding 2017-01-02

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: