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

Fail reconfig for shard server if it would change DWCF and CWWC is not set

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Minor Change
    • v5.0
    • Repl 2021-07-26, Repl 2021-08-09

      Since the shard server doesn't have the CWWC in memory, it will need to poll the config server for that information. We should only do that if the DWCF changes to w:1. We should not be holding any locks when we poll the config server and likely should do this at the beginning of the reconfig command, before we acquire the replication coordinator mutex.

            Assignee:
            m.maher@mongodb.com Moustafa Maher
            Reporter:
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: