Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-search
Commit: b1278aac06b302681319ae586cdcab46b3019cc0
https://github.com/hibernate/hibernate-search/commit/b1278aac06b302681319...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-25 (Fri, 25 Oct 2019)
Changed paths:
M
util/common/src/main/java/org/hibernate/search/util/common/impl/CancellableExecutionCompletableFuture.java
M
util/common/src/test/java/org/hibernate/search/util/common/impl/CancellableExecutionCompletableFutureTest.java
Log Message:
-----------
HSEARCH-3739 Better handling of exceptions caused by interruption in
CancellableExecutionCompletableFuture
Previously a cancellation could cause the CompletableFuture to be
completed exceptionally with the failure caused by the interruption,
which is generally not what you want.
It happened randomly, but was witnessed at least once here:
https://travis-ci.com/hibernate/hibernate-search/builds/133506471