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

Executor service does not terminate in 100ms after abrupt shutdown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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

      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

       

        1. log
          8 kB
          Anna Dupliak

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

                Created:
                Updated:
                Resolved: