Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-search
Commit: 1271c3a1ab7cfbb7901598a8e97d52b56e80a148
https://github.com/hibernate/hibernate-search/commit/1271c3a1ab7cfbb79015...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-25 (Fri, 25 Oct 2019)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/bootstrap/UnusedPropertiesIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingFailureIT.java
Log Message:
-----------
HSEARCH-3728 Rename ExpectedLog4JLog fields from "log" to "logged"
To be consistent across all tests.
Commit: 76449640df32f4f988a5eb2e507a59cd68a957bd
https://github.com/hibernate/hibernate-search/commit/76449640df32f4f988a5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-25 (Fri, 25 Oct 2019)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/BatchCoordinator.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/BatchIndexingWorkspace.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/IdentifierConsumerDocumentProducer.java
Log Message:
-----------
HSEARCH-3728 Use CompletableFutures instead of CountDownLatches to synchronize
MassIndexer threads
Commit: 3df4eaef1b50a10f317cbde3eebdefa261078be5
https://github.com/hibernate/hibernate-search/commit/3df4eaef1b50a10f317c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-25 (Fri, 25 Oct 2019)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/IdentifierConsumerDocumentProducer.java
Log Message:
-----------
HSEARCH-3728 Add a try-with-resource in the massindexer to benefit from suppresion of
exceptions
Commit: 70361a7e704fb186dab62bc81ac650ac2851a989
https://github.com/hibernate/hibernate-search/commit/70361a7e704fb186dab6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-25 (Fri, 25 Oct 2019)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/BatchCoordinator.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/BatchIndexingWorkspace.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/FailureHandledRunnable.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/IdentifierProducer.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/OptionallyWrapInJTATransaction.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/StatelessSessionAwareRunnable.java
Log Message:
-----------
HSEARCH-3728 Improve exception handling in the mass indexer
1. Try to cancel pending tasks for any exception, not just
InterruptedException
2. Use "Mass indexing" rather than "batch indexing" in exception
messages
3. Wrap JTA checked exceptions with exceptions of our own.
4. Put as much code as possible in common in FailureHandledRunnable.
Commit: f24d70565ef4cd67665dd5a3a3826f6ecf46b2e1
https://github.com/hibernate/hibernate-search/commit/f24d70565ef4cd67665d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-25 (Fri, 25 Oct 2019)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/BatchCoordinator.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/BatchIndexingWorkspace.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/FailureHandledRunnable.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/IdentifierConsumerDocumentProducer.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/IdentifierProducer.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/MassIndexerImpl.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/MassIndexingNotifier.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/OptionallyWrapInJTATransaction.java
Log Message:
-----------
HSEARCH-3728 Encapsulate all mass indexing notifications in a new MassIndexingNotifier
class
We're about to add notifications that will require a massindexer-scoped
state (the number of entities that failed to index), so this will be
necessary.
Commit: d2f5e4687356fc543bff04bb68855899b5eabc50
https://github.com/hibernate/hibernate-search/commit/d2f5e4687356fc543bff...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-25 (Fri, 25 Oct 2019)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingFailureIT.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/BatchCoordinator.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/BatchIndexingWorkspace.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/FailureHandledRunnable.java
Log Message:
-----------
HSEARCH-3728 Propagate exceptions from optimize/flush/etc in the mass indexer to the
user thread
Does not include indexing yet, that's a bit more complex.
Commit: cf81a755d376781d05830bda3f84c14c6143c4f2
https://github.com/hibernate/hibernate-search/commit/cf81a755d376781d0583...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-25 (Fri, 25 Oct 2019)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingFailureIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingMonitorIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/BatchCoordinator.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/FailureHandledRunnable.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/MassIndexingNotifier.java
Log Message:
-----------
HSEARCH-3728 Throw an exception at the end of mass indexing if one or more entities
failed
Commit: fdc87aadcebe399558490d682c01ea1efde8a499
https://github.com/hibernate/hibernate-search/commit/fdc87aadcebe39955849...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-10-25 (Fri, 25 Oct 2019)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingFailureIT.java
Log Message:
-----------
HSEARCH-3728 Test multiple failures during mass indexing
Compare:
https://github.com/hibernate/hibernate-search/compare/954cef9795c2...fdc8...