[hibernate-commits] [hibernate/hibernate-search] 820983: HSEARCH-3733 Fix a bug in BatchExecutor where we s...

Yoann Rodière noreply at github.com
Thu Oct 10 02:49:21 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-search
  Commit: 8209835fe632b9900eb71af4c958b04aafe53d76
      https://github.com/hibernate/hibernate-search/commit/8209835fe632b9900eb71af4c958b04aafe53d76
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-10-10 (Thu, 10 Oct 2019)

  Changed paths:
    M engine/src/main/java/org/hibernate/search/engine/backend/orchestration/spi/BatchingExecutor.java

  Log Message:
  -----------
  HSEARCH-3733 Fix a bug in BatchExecutor where we sometimes forgot to schedule processing

The bug occurred when a workset was added to the queue between the call
to workQueue.isEmpty() and the call to processingSchedule.set(false):
when that happened, neither the executor thread nor the submitting
thread would schedule the next batch processing.





More information about the hibernate-commits mailing list