Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-search
Commit: 8209835fe632b9900eb71af4c958b04aafe53d76
https://github.com/hibernate/hibernate-search/commit/8209835fe632b9900eb7...
Author: Yoann Rodière <yoann(a)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.