Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-search
Commit: 790331f169deb8ad3345b24631c06ac3af42b4d9
https://github.com/hibernate/hibernate-search/commit/790331f169deb8ad3345...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
M
backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchBatchingWorkOrchestrator.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/HashShardingStrategy.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneSerialWorkOrchestratorImpl.java
A
util/common/src/main/java/org/hibernate/search/util/common/data/impl/HashFunction.java
A
util/common/src/main/java/org/hibernate/search/util/common/data/impl/HashTable.java
A
util/common/src/main/java/org/hibernate/search/util/common/data/impl/ModuloHashTable.java
M
util/common/src/main/java/org/hibernate/search/util/common/data/impl/SimpleHashFunction.java
Log Message:
-----------
HSEARCH-4231 Expose SimpleHashFunction and ModuloHashTable through interfaces
Mainly useful for tests, coming in the following commits.
Commit: c69487e3da87d4a0680b361fb0bf121a5bd38319
https://github.com/hibernate/hibernate-search/commit/c69487e3da87d4a0680b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
A
util/common/src/main/java/org/hibernate/search/util/common/data/impl/Murmur3HashFunction.java
A
util/common/src/main/java/org/hibernate/search/util/common/data/impl/RangeCompatibleHashFunction.java
A
util/common/src/main/java/org/hibernate/search/util/common/data/impl/RangeHashTable.java
A
util/common/src/test/java/org/hibernate/search/util/common/data/impl/RangeHashTablePartitionTest.java
Log Message:
-----------
HSEARCH-4231 Introduce a range-based hash table
Commit: 12e34c39436deb84ef66fba5f3ef23ce2bcbee02
https://github.com/hibernate/hibernate-search/commit/12e34c39436deb84ef66...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
M pom.xml
M util/common/pom.xml
A
util/common/src/test/java/org/hibernate/search/util/common/data/impl/HashTableUniformityTest.java
A
util/common/src/test/java/org/hibernate/search/util/common/data/impl/RandomStringGenerator.java
A
util/common/src/test/java/org/hibernate/search/util/common/data/impl/StringGenerator.java
A util/common/src/test/resources/log4j2.properties
Log Message:
-----------
HSEARCH-4231 Test uniformity of the distribution of keys in hash tables
Commit: bd6164ed4f3c54a61f8b205cd238940d73079d85
https://github.com/hibernate/hibernate-search/commit/bd6164ed4f3c54a61f8b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/FilteringOutboxEventFinder.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingAutomaticIndexingStrategyEdgeIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingAutomaticIndexingStrategyLifecycleIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingAutomaticIndexingStrategyRoutingIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingEventSendingIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingOutOfOrderIdsIT.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/impl/HibernateOrmMapperImplSettings.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/DefaultOutboxEventFinder.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxEventFinderProvider.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxEventPredicate.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxPollingAutomaticIndexingStrategy.java
Log Message:
-----------
HSEARCH-4231 Introduce the concept of predicate in OutboxEventFinder
We will use it for sharding.
Commit: 76d58fcc1e97b735431b7c96fd1349e0cf03e757
https://github.com/hibernate/hibernate-search/commit/76d58fcc1e97b735431b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxEventSendingPlan.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxPollingAutomaticIndexingStrategy.java
R
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxTableSendingPlan.java
Log Message:
-----------
HSEARCH-4231 Rename OutboxTableSendingPlan to OutboxEventSendingPlan
For consistency.
Commit: f7dd666804b9f946e6481b3db6f1910e078c482e
https://github.com/hibernate/hibernate-search/commit/f7dd666804b9f946e648...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxEvent.java
Log Message:
-----------
HSEARCH-4231 Remove an unused constructor from OutboxEvent
Commit: bfc923b533771b0caa47740489e48ecd6799b3e0
https://github.com/hibernate/hibernate-search/commit/bfc923b533771b0caa47...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxPollingAutomaticIndexingStrategy.java
Log Message:
-----------
HSEARCH-4231 Remove unnecessary prefixes for constants in
OutboxPollingAutomaticIndexingStrategy
Commit: 244004c6186076624b0799d4fffdaeadaa7c913b
https://github.com/hibernate/hibernate-search/commit/244004c6186076624b07...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
R
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxEventBackgroundExecutor.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxEventBackgroundProcessor.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxPollingAutomaticIndexingStrategy.java
Log Message:
-----------
HSEARCH-4231 Rename OutboxEventBackgroundExecutor to OutboxEventBackgroundProcessor
Because it's what it does: it processes outbox events.
Commit: a6b269d478991216f143351b6e6bf5f3f1f4c901
https://github.com/hibernate/hibernate-search/commit/a6b269d478991216f143...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/HibernateOrmMapperSettings.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxPollingAutomaticIndexingStrategy.java
Log Message:
-----------
HSEARCH-4231 Add a "processing." prefix to properties related to outbox event
processing
Commit: 10adc78e90da7f9286f2d60790025da8f22f4115
https://github.com/hibernate/hibernate-search/commit/10adc78e90da7f9286f2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
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/outbox/impl/OutboxEventBackgroundProcessor.java
Log Message:
-----------
HSEARCH-4231 Log debug messages when starting/stopping outbox event processors
Commit: 569739e6ad344e4b4f1e99d4722ff397bb35fae2
https://github.com/hibernate/hibernate-search/commit/569739e6ad344e4b4f1e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/HibernateOrmMapperSettings.java
Log Message:
-----------
HSEARCH-4231 Set the default polling interval to 100ms by default in the background
outbox event processor
Because running a query every 8ms is wild, considering the query will
take about that much time to execute and return results.
Commit: d2411f4dca40049aabe9252e7b706f5d669c5c92
https://github.com/hibernate/hibernate-search/commit/d2411f4dca40049aabe9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
M
backend/elasticsearch-aws/src/main/java/org/hibernate/search/backend/elasticsearch/aws/impl/ElasticsearchAwsStaticCredentialsProvider.java
M
backend/elasticsearch-aws/src/main/java/org/hibernate/search/backend/elasticsearch/aws/logging/impl/Log.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/ExplicitShardingStrategy.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/HashShardingStrategy.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
M
engine/src/main/java/org/hibernate/search/engine/cfg/impl/OptionalConfigurationPropertyImpl.java
M
engine/src/main/java/org/hibernate/search/engine/cfg/spi/OptionalConfigurationProperty.java
M
engine/src/test/java/org/hibernate/search/engine/cfg/spi/ConfigurationPropertyValidMissingValuesTest.java
M
engine/src/test/java/org/hibernate/search/engine/cfg/spi/ConfigurationPropertyValidSimpleValuesTest.java
Log Message:
-----------
HSEARCH-4231 Standardize error messages when a mandatory property is not set
Because we're going to add more mandatory properties.
Commit: 9754688a0f1db1348ead5d43e6b6dbe381e43f5e
https://github.com/hibernate/hibernate-search/commit/9754688a0f1db1348ead...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/HibernateOrmMapperSettings.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/EntityIdHashRangeOutboxEventPredicate.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxAdditionalJaxbMappingProducer.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxEvent.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxEventSendingPlan.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/outbox/impl/OutboxPollingAutomaticIndexingStrategy.java
Log Message:
-----------
HSEARCH-4231 Implement static sharding for outbox event processing
Commit: 1cb37502bc5c112102ce92a4fea238dd19e25551
https://github.com/hibernate/hibernate-search/commit/1cb37502bc5c112102ce...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/HibernateOrmMapperSettings.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/outbox/impl/OutboxPollingAutomaticIndexingStrategy.java
Log Message:
-----------
HSEARCH-4231 Allow disabling processing of entity change events
Commit: 180f85116748211e51c6e2d73ba4c8d977f2bf33
https://github.com/hibernate/hibernate-search/commit/180f85116748211e51c6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
A
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingStaticShardingBaseIT.java
A
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingStaticShardingInvalidConfigurationIT.java
A
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/OutboxPollingStaticShardingUnevenShardsIT.java
A
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/strategy/outbox/PerSessionFactoryIndexingTracingBridge.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/MappingSetupHelper.java
M
util/internal/test/src/main/java/org/hibernate/search/util/impl/test/rule/StaticCounters.java
Log Message:
-----------
HSEARCH-4231 Test static sharding for outbox event processing
Commit: 5c1129bc5e9768e44a6f00454e63b49ad40a34e0
https://github.com/hibernate/hibernate-search/commit/5c1129bc5e9768e44a6f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
M
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/OrmSetupHelper.java
Log Message:
-----------
HSEARCH-4231 Remove dead code from OrmSetupHelper
Compare:
https://github.com/hibernate/hibernate-search/compare/343ef8565f60...5c11...