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

Change StaleConfig error code in 'newlyAdded' field removal reconfig

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-06-15

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: