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

ReplBatcher must handle exceptions from OplogApplier::calculateBatchLimitBytes

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.3.1
    • Affects Version/s: 4.0.10, 4.2.0-rc2
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Repl 2019-08-12, Repl 2019-08-26, Repl 2019-09-09
    • 10

      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.

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

              Created:
              Updated:
              Resolved: