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

ReplBatcher must handle exceptions from OplogApplier::calculateBatchLimitBytes

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 4.3.1
    • 4.0.10, 4.2.0-rc2
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-08-12, Repl 2019-08-26, Repl 2019-09-09
    • 10

    Description

      The OplogApplier::calculateBatchLimitBytes function call here tries to acquire a lock and so may throw an exception if it is interrupted (at shutdown, for example). We should make sure the ReplBatcher can handle these exceptions. We may be able to extend the scope of this uninterruptible code block, which was added to handle a nearly identical issue in a later part of that code.

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: