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

Indexing job downloader: shutdown gracefully all threads in case of failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Done
    • None
    • 1.64.0
    • indexing
    • None

    Description

      If the download fails, the threads created by the Pipeline strategy are not all being correctly shutdown, some of them may be left behind. As they are all daemon threads, they will not prevent the JVM from shutting down. But when they are forcibly closed at the JVM shutdown, they print in the logs several exceptions (connections closed abruptly, trying to access objects that were already closed) that are confusing and distract from the root cause of the problem.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nuno.santos Nuno Santos
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: