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

Skip migration recovery on non-primary nodes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.5 Required
    • Fix Version/s: 4.7.0
    • Component/s: Sharding
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2020-06-15

      Description

      https://github.com/mongodb/mongo/blob/f7c2b0c472b9c0ed9e12301cc5951ecf9f886722/src/mongo/db/s/shard_filtering_metadata_refresh.cpp#L162

      The condition is slightly incorrect, because it includes all nodes roles except for secondary, while the correct one will just perform migration recovery when the node is primary

        Attachments

          Activity

            People

            Assignee:
            tommaso.tocci Tommaso Tocci
            Reporter:
            tommaso.tocci Tommaso Tocci
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: