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

repl::applyCommand_inlock does not handle TemporarilyUnavailable and TransactionTooLargeForCache exceptions

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0, 7.2.0-rc2, 7.0.5, 7.1.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v7.2, v7.1, v7.0
    • CAR Team 2023-11-13, CAR Team 2023-11-27
    • 105

      The function catches a DBException and converts it to a Status, then re-throws it if it was a WriteConflict. This leaves TemporarilyUnavailable and TransactionTooLargeForCache exceptions unhandled.

      The code should directly catch and re-throw StorageUnavailableExceptions.

            Assignee:
            haley.connelly@mongodb.com Haley Connelly
            Reporter:
            josef.ahmad@mongodb.com Josef Ahmad
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: