CheckReplDBHash should ignore mapreduce incremental collections

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.6, 3.7.4
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • TIG 2018-04-09, TIG 2018-04-23
    • 16
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If a mapreduce is interrupted by a stepdown while its "_inc" collection exists, it will not be able to delete the "_inc" collection. Since that collection is not replicated (per SERVER-13981), this will result in a DBHash mismatch.

      It might be better to come up with a better way of handling those collections, such as putting them in local.tmp. As it is I wonder if initial-syncing nodes will pick up the _inc collections even though they are not in the oplog.

              Assignee:
              Samyukta Lanka
              Reporter:
              Matthew Russotto
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: