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

Change StaleConfig error code in 'newlyAdded' field removal reconfig

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Repl 2020-06-15

      While it sounds right for the situtation, it is very much a sharding-specific error. This is actually one of the codes that requires an ExtraErrorInfo object; the StaleConfig version of that (StaleConfigInfo) needs real sharding info, like the shardId, which we do not (and should not) have access to in the ReplicationCoordinator. The simplest solution is to just replace this error code with a different one.

            Assignee:
            vesselina.ratcheva@mongodb.com Vesselina Ratcheva (Inactive)
            Reporter:
            vesselina.ratcheva@mongodb.com Vesselina Ratcheva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: