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

Pass ignore prepare behavior from a Command attribute into waitForReadConcern, rather than using a whitelist

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.10
    • None
    • None
    • None
    • Fully Compatible
    • Storage NYC 2019-03-25, Storage NYC 2019-04-08

    Description

      Rather than using a whitelist of strings, commands that can safely ignore prepare conflicts should have an attribute on the Command class like canIgnorePrepareConflicts(), which will be passed into waitForReadConcern, instead of the command name. This is a better option than the current approach which uses a whitelist of string command names.

      Attachments

        Activity

          People

            louis.williams@mongodb.com Louis Williams
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: