Branch: refs/heads/6.0
Home:
https://github.com/hibernate/hibernate-search
Commit: 8396ba8b4c493720693d256738baebce48fb2945
https://github.com/hibernate/hibernate-search/commit/8396ba8b4c493720693d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-10 (Thu, 10 Jun 2021)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/AbstractMassIndexingErrorIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/AbstractMassIndexingFailureIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingErrorCustomBackgroundFailureHandlerIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingErrorCustomMassIndexingFailureHandlerIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingErrorDefaultBackgroundFailureHandlerIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingFailureCustomBackgroundFailureHandlerIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingFailureCustomMassIndexingFailureHandlerIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingFailureDefaultBackgroundFailureHandlerIT.java
R
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/StubFailureHandler.java
Log Message:
-----------
HSEARCH-4218 Use Mockito more widely in mass indexing tests
Cherry-picked from 14f36e2c9515e41e4b41facfe6b2dd3f49e0104c
Commit: 7ea36ea84a1649edf9008530b64f6f5a8eaf5ade
https://github.com/hibernate/hibernate-search/commit/7ea36ea84a1649edf900...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-10 (Thu, 10 Jun 2021)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/BatchIndexingWorkspace.java
Log Message:
-----------
HSEARCH-4218 When mass indexing, wait for ID producing threads to finish
Cherry-picked from 35cde2fbd1a39c5b4c0f9354d817b7e88bf74b2b,
without the tests because we cannot easily mock ID loading in 6.0.
More tests are coming in the next commits which should do the trick.
Previously we were only waiting on indexing threads.
Obviously those would never finish before the identifier producing
threads were done producing identifiers, but they could finish between
the end of the identifier production and the time where the ID producing
threads were actually done with some finalizing tasks.
This could result in some failure notifications to be pushed to the
failure handler *after* startAndWait() returned, which made
MassIndexingIncludedEntityMapHierarchyIT fail from time to time.
Reasons for this change:
1. This won't impact performance much: when indexing threads finish, ID
producing threads are mostly done anyway (worst case they still need
to report an exception, but that's all).
2. We will now wait for all threads to finish reporting errors before
we consider indexing successful.
3. We will now propagate exceptions thrown by ID producing threads to
the caller of `massIndexer.startAndWait()`, instead of considering
indexing successful.
Commit: a48c050666f55fb61787abb772b499eb0e6acec6
https://github.com/hibernate/hibernate-search/commit/a48c050666f55fb61787...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-10 (Thu, 10 Jun 2021)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/AbstractMassIndexingFailureIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingInterruptionIT.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/MassIndexerImpl.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/MassIndexingNotifier.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/MassIndexingOperationHandledFailureException.java
Log Message:
-----------
HSEARCH-4236 Improve reporting and handling of exceptions in the mass indexer
Commit: f622d20b2bf1d2c6213f7dd26c4a2582d0a5e1a4
https://github.com/hibernate/hibernate-search/commit/f622d20b2bf1d2c6213f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-10 (Thu, 10 Jun 2021)
Changed paths:
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
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
M util/common/src/main/java/org/hibernate/search/util/common/impl/Futures.java
Log Message:
-----------
HSEARCH-4236 Fix handling of mass indexing exceptions during transaction.begin()/query
execution
Commit: 5b0311f46eea7f64eac61fb11f9a40234cba4a58
https://github.com/hibernate/hibernate-search/commit/5b0311f46eea7f64eac6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-10 (Thu, 10 Jun 2021)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/IdentifierProducer.java
Log Message:
-----------
HSEARCH-4236 Fix deadlock when aborting mass indexing as the ID queue is full
Commit: ba1d9b49155a76bedfd5ea8742e7cc320de0cea3
https://github.com/hibernate/hibernate-search/commit/ba1d9b49155a76bedfd5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-10 (Thu, 10 Jun 2021)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/AbstractMassIndexingErrorIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/AbstractMassIndexingFailureIT.java
Log Message:
-----------
HSEARCH-4236 Test mass indexing exceptions during transaction.begin()/query execution
Commit: 3f1a60d10995b87dcf70dee38d405951ac5ee301
https://github.com/hibernate/hibernate-search/commit/3f1a60d10995b87dcf70...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-10 (Thu, 10 Jun 2021)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/AbstractMassIndexingErrorIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/AbstractMassIndexingFailureIT.java
Log Message:
-----------
HSEARCH-4236 Avoid swallowing exceptions in mass indexing error/failure ITs
Commit: bd57f1e30fcc1e986957a674cfd2f59e65533fdd
https://github.com/hibernate/hibernate-search/commit/bd57f1e30fcc1e986957...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-10 (Thu, 10 Jun 2021)
Changed paths:
M
util/common/src/main/java/org/hibernate/search/util/common/impl/CancellableExecutionCompletableFuture.java
Log Message:
-----------
HSEARCH-4236 Improve debug information in CancellableExecutionCompletableFuture
Commit: 5022188d97b62f90ed4c3e2f3b61a0d00c8aeeb9
https://github.com/hibernate/hibernate-search/commit/5022188d97b62f90ed4c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-10 (Thu, 10 Jun 2021)
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/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/MassIndexingNotifier.java
Log Message:
-----------
HSEARCH-4236 Rename methods in MassIndexingNotifier
To clarify that these methods don't necessarily notify immediately:
they are simply about reporting something to the notifier, which will
decide when to send the "notification": immediately, or when mass
indexing ends.
Commit: 0619befbf618944679b5f3ebb160836fcc108ecf
https://github.com/hibernate/hibernate-search/commit/0619befbf618944679b5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-10 (Thu, 10 Jun 2021)
Changed paths:
R build-config/pom.xml
R build-config/src/main/assembly/dependencies-javadoc-packagelists.xml
R
build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/CommentSuppressor.java
R
build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/DoubleSpacesCheck.java
R
build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/IllegalImport.java
R
build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/MatchSuppressor.java
R
build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/NeverSuppress.java
R
build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/StringSuppressor.java
R
build-config/src/main/java/org/hibernate/checkstyle/filters/ExcludeTestPackages.java
R build-config/src/main/resources/checkstyle.xml
R build-config/src/main/resources/forbidden-runtime.txt
R build-config/src/main/resources/forbidden-tests.txt
R
build-config/src/main/resources/org/hibernate/checkstyle/checks/regexp/messages.properties
R build-config/src/main/resources/suppressions.xml
R
build-config/src/test/java/org/hibernate/checkstyle/checks/regexp/DoubleSpacesCheckTest.java
R
build-config/src/test/java/org/hibernate/checkstyle/checks/regexp/StringSuppressorTest.java
A build/config/pom.xml
A build/config/src/main/assembly/dependencies-javadoc-packagelists.xml
A
build/config/src/main/java/org/hibernate/checkstyle/checks/regexp/CommentSuppressor.java
A
build/config/src/main/java/org/hibernate/checkstyle/checks/regexp/DoubleSpacesCheck.java
A
build/config/src/main/java/org/hibernate/checkstyle/checks/regexp/IllegalImport.java
A
build/config/src/main/java/org/hibernate/checkstyle/checks/regexp/MatchSuppressor.java
A
build/config/src/main/java/org/hibernate/checkstyle/checks/regexp/NeverSuppress.java
A
build/config/src/main/java/org/hibernate/checkstyle/checks/regexp/StringSuppressor.java
A
build/config/src/main/java/org/hibernate/checkstyle/filters/ExcludeTestPackages.java
A build/config/src/main/resources/checkstyle.xml
A build/config/src/main/resources/forbidden-runtime.txt
A build/config/src/main/resources/forbidden-tests.txt
A
build/config/src/main/resources/org/hibernate/checkstyle/checks/regexp/messages.properties
A build/config/src/main/resources/suppressions.xml
A
build/config/src/test/java/org/hibernate/checkstyle/checks/regexp/DoubleSpacesCheckTest.java
A
build/config/src/test/java/org/hibernate/checkstyle/checks/regexp/StringSuppressorTest.java
M pom.xml
Log Message:
-----------
HSEARCH-4237 Move build-config to a build directory
Commit: deed5214cb42e2fcd4a2bb27c7098570b0953904
https://github.com/hibernate/hibernate-search/commit/deed5214cb42e2fcd4a2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-06-10 (Thu, 10 Jun 2021)
Changed paths:
A build/surefire-extension/pom.xml
A
build/surefire-extension/src/main/java/org/hibernate/search/build/surefire/FixedLegacyMasterProcessChannelEncoder.java
A
build/surefire-extension/src/main/java/org/hibernate/search/build/surefire/FixedLegacyMasterProcessChannelProcessorFactory.java
A
build/surefire-extension/src/main/resources/META-INF/services/org.apache.maven.surefire.spi.MasterProcessChannelProcessorFactory
M pom.xml
M util/internal/test/pom.xml
Log Message:
-----------
HSEARCH-4237 Work around Surefire clearing the interrupt status when forwarding
stdout/stderr
Compare:
https://github.com/hibernate/hibernate-search/compare/271fad5fccaf...deed...