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

CheckReplDBHash should ignore mapreduce incremental collections

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.6, 3.7.4
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.6
    • Sprint:
      TIG 2018-04-09, TIG 2018-04-23
    • Linked BF Score:
      16

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: