Skip migration recovery on non-primary nodes

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Sharding 2020-06-15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

              Assignee:
              Tommaso Tocci
              Reporter:
              Tommaso Tocci
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: