Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-2563

Executor service does not terminate in 100ms after abrupt shutdown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 7.59.0.Final
    • optaplanner-test
    • None
    • 2021 Week 46-48 (from Nov 15), 2021 Week 49-51 (from Dec 6th)
    • 3
    • NEW
    • NEW

    Description

      PartitionQueue doesn't clear interrupted flag when the main solver thread is interrupted

      DefaultPartitionedSearchPhaseTest#shutdownMainThreadAbruptly

      It was failing before : https://github.com/kiegroup/optaplanner/pull/1237/files

      log

       

      To reproduce the issue scale the problem - increase partSize to 400 and partCount to 200

       

      Attachments

        Issue Links

          Activity

            People

              jlocker Jiří Locker
              adupliak Anna Dupliak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: