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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Backport Requested:
      v5.0
    • Sprint:
      Repl 2021-07-26, Repl 2021-08-09

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: