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

CheckReplDBHash should ignore mapreduce incremental collections

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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:
            samy.lanka@mongodb.com Samyukta Lanka
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: