Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-search
Commit: 67e6bc4eb3ff852a6815c0c7bb8f68344560a230
https://github.com/hibernate/hibernate-search/commit/67e6bc4eb3ff852a6815...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/CallQueue.java
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/VerifyingStubBackendBehavior.java
Log Message:
-----------
HSEARCH-4316 Prioritize displaying unexpected calls when expectations are not met in
BackendMock
Unexpected calls are often the right place to start to debug problems,
so we might as well display them first.
Commit: da41961452d749edcbeae04cdc500428d2b262c2
https://github.com/hibernate/hibernate-search/commit/da41961452d749edcbea...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/IndexScaleWorkCall.java
Log Message:
-----------
HSEARCH-4316 Display the work type on index-scale work call mismatches in BackendMock
Commit: 62f09ad2e6f50ea5e849c26b23b2a4bf594f7918
https://github.com/hibernate/hibernate-search/commit/62f09ad2e6f50ea5e849...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M
integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingWhileMassIndexingIT.java
Log Message:
-----------
HSEARCH-4316 Improve clarity and reliability of
OutboxPollingAutomaticIndexingWhileMassIndexingIT
Commit: 6b168a86d0a0c72a6668588125fd0b7503005a1b
https://github.com/hibernate/hibernate-search/commit/6b168a86d0a0c72a6668...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/ReusableOrmSetupHolder.java
Log Message:
-----------
HSEARCH-4316 Make ReusableOrmSetupHolder work with multi-tenancy
Commit: fb4f040bc2ecd403af0a74d4a7eac91e7153b965
https://github.com/hibernate/hibernate-search/commit/fb4f040bc2ecd403af0a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M
util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexWorkspace.java
Log Message:
-----------
HSEARCH-4316 Make StubIndexWorkspace work with multi-tenancy
Commit: 6c7c39ca0d11796c919086bb95f3ea4126d35c06
https://github.com/hibernate/hibernate-search/commit/6c7c39ca0d11796c9190...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingBaseIT.java
Log Message:
-----------
HSEARCH-4316 Test ORM MassIndexer in a multi-tenant application with the stub backend
Strangely, it seems we've never done that, and as shown in the previous
commits, it simply wasn't working.
Commit: a9b20b0995970a478649d838ccaebac446c990c2
https://github.com/hibernate/hibernate-search/commit/a9b20b0995970a478649...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M
mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/mapping/SearchMappingBuilder.java
M
mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/impl/OutboxPollingCoordinationStrategy.java
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/coordination/common/spi/CoordinationStrategyStartContext.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/mapping/impl/CoordinationStrategyStartContextImpl.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMapping.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingInitiator.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/tenancy/spi/TenancyConfiguration.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoMapper.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoMappingDelegateImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/AbstractPojoMappingInitiator.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/PojoMappingDelegate.java
Log Message:
-----------
HSEARCH-4316 Add a configuration option to set the exhaustive list of tenant IDs
Commit: 44600366a21488a53be4815c59f05f57e5b9121b
https://github.com/hibernate/hibernate-search/commit/44600366a21488a53be4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M
integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/timeout/TimeoutSessionEventListener.java
M
mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingEventProcessor.java
M
mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingMassIndexerAgent.java
M
mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/impl/OutboxPollingCoordinationStrategy.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/impl/PojoDefaultMassIndexer.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/impl/PojoMassIndexerAgentCreateContextImpl.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/impl/PojoMassIndexerAgentStartContextImpl.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/impl/PojoMassIndexingBatchCoordinator.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/spi/PojoMassIndexerAgentCreateContext.java
A
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/spi/PojoMassIndexerAgentStartContext.java
M
mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/scope/impl/PojoScopeDelegateImpl.java
M
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/CoordinationStrategyExpectations.java
M
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/OrmSetupHelper.java
Log Message:
-----------
HSEARCH-4316 Take into account multi-tenancy in the outbox-polling coordination
strategy
Commit: 47296dec3e4675a42f5e4f4bf521315233c69334
https://github.com/hibernate/hibernate-search/commit/47296dec3e4675a42f5e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M
integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingWhileMassIndexingIT.java
A
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingMultiTenancyIT.java
Log Message:
-----------
HSEARCH-4316 Test automatic indexing with multi-tenancy enabled
Commit: 487e72ad01690113d96b25db53cbc7aeb5bc1d85
https://github.com/hibernate/hibernate-search/commit/487e72ad01690113d96b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M
integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingConcurrencyIT.java
M
integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingDynamicShardingRebalancingIT.java
M
integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingShardingBaseIT.java
M
integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingStaticShardingUnevenShardsIT.java
M
integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingTestUtils.java
M
integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/PerSessionFactoryIndexingCountHelper.java
Log Message:
-----------
HSEARCH-4316 Prepare OutboxPolling IT utils for tests involving multiple tenants
Commit: 2aa1be88934a7def47ef1c7491a392a44625f3a5
https://github.com/hibernate/hibernate-search/commit/2aa1be88934a7def47ef...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M
mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/cfg/HibernateOrmMapperOutboxPollingSettings.java
M
mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/impl/OutboxPollingCoordinationStrategy.java
M
mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/logging/impl/Log.java
A
mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/cfg/HibernateOrmMapperOutboxPollingSettingsTest.java
Log Message:
-----------
HSEARCH-4316 Per-tenant configuration of the outbox-polling coordination strategy
Commit: 8938f05e46300e2d687bb51ffb9bcd5c5d11c668
https://github.com/hibernate/hibernate-search/commit/8938f05e46300e2d687b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/multitenancy/impl/MultitenancyTestHelper.java
A
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/multitenancy/impl/MultitenancyTestHelperSchemaManagementTool.java
Log Message:
-----------
HSEARCH-4316 Take into account HBM2DDL settings in MultitenancyTestHelper
So that we can create multiple session factories with multitenancy
enabled, with HBM2DDL enabled in one session factory only in order to
avoid conflicts.
Commit: 886afb74351774e1d5881d8830b915dd6dc9ac06
https://github.com/hibernate/hibernate-search/commit/886afb74351774e1d588...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
A
integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingMultiTenancyIT.java
Log Message:
-----------
HSEARCH-4316 Test per-tenant configuration of the outbox-polling coordination strategy
Commit: 8d7b1d5ec233b2f18523756b65a245474a2f4ed9
https://github.com/hibernate/hibernate-search/commit/8d7b1d5ec233b2f18523...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M documentation/src/main/asciidoc/reference/backend-elasticsearch.asciidoc
M documentation/src/main/asciidoc/reference/backend-lucene.asciidoc
M documentation/src/main/asciidoc/reference/configuration.asciidoc
M documentation/src/main/asciidoc/reference/coordination.asciidoc
Log Message:
-----------
HSEARCH-4316 Document multi-tenancy configuration for the outbox-polling coordination
strategy
Commit: 5066207398c6679f763b5ca3bb853a171fac0f30
https://github.com/hibernate/hibernate-search/commit/5066207398c6679f763b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M
integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingTestUtils.java
Log Message:
-----------
HSEARCH-4316 Avoid long waits in
OutboxPollingTestUtils#awaitAllAgentsRunningInOneCluster
Compare:
https://github.com/hibernate/hibernate-search/compare/752e1eeaacf2...5066...