Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9340

Don’t use Thread.interrupt()

    XMLWordPrintableJSON

Details

    Description

      Interrupt don't play well with Oak and can trigger stopping the repository, see OAK-2609. The Oak team documents to not use interrupt in

      https://jackrabbit.apache.org/oak/docs/dos_and_donts.html

      Distribution journal code leverages interrupt at multiple places. This issue is about avoiding interruption in favour of running flags.

      Attachments

        Activity

          People

            marett Timothee Maret
            marett Timothee Maret
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: