Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5522

Deactivation code in StandbyStoreService is not resilient to errors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: segment-tar
    • Labels:
      None

      Description

      The StandbyStoreService#deactivate is not resilient to exceptions thrown in StandbyClientSync#close. If that method throws an exception, the following call to ServiceRegistration#unregister will never happen, resulting a dangling task in the system executor.

        Attachments

          Activity

            People

            • Assignee:
              frm Francesco Mari
              Reporter:
              frm Francesco Mari
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: