Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16127

OrderedExecutor can orphan permits and leak locks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.1, 9.0.1
    • None
    • None

    Description

      If a thread is interrupted while waiting to acquire a maxThreads semaphore permit, then it does not clean up the corresponding entry in striped lock, which may prevent future threads from executing even when enough semaphore permits become available.

      Attachments

        Issue Links

          Activity

            People

              mdrob Mike Drob
              mdrob Mike Drob
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m