[hibernate/hibernate-search] 6b2fd8: HSEARCH-4358 Move code related to persisting an ag...
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: 6b2fd875715c7752ce1dba9d9b7a48fa2cfeccb0
https://github.com/hibernate/hibernate-search/commit/6b2fd875715c7752ce1d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
A mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/cluster/impl/AgentPersister.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingEventProcessorClusterLink.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractClusterLinkTest.java
Log Message:
-----------
HSEARCH-4358 Move code related to persisting an agent to a dedicated class
Commit: 38e06ed34ddccc0bf3aba9f9caf62474be385562
https://github.com/hibernate/hibernate-search/commit/38e06ed34ddccc0bf3ab...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M documentation/src/main/asciidoc/reference/coordination.asciidoc
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/OutboxPollingOrmSetupHelperConfig.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/OutboxPollingStrategyPropertyValueIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingBackendFailureIT.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/OutboxPollingAutomaticIndexingEdgeCasesIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingEventSendingIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingInvalidConfigurationIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingLifecycleIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingOutOfOrderIdsIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingRoutingIT.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-spring/src/test/resources/application-raised-timeout.yaml
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/cfg/impl/HibernateOrmMapperOutboxPollingImplSettings.java
R mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AgentInstructions.java
A mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingEventProcessingInstructions.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/OutboxPollingEventProcessorClusterLink.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/impl/OutboxPollingCooordinationStrategy.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/logging/impl/Log.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractClusterLinkTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkPulseExpectations.java
Log Message:
-----------
HSEARCH-4358 Rename the processors.indexing configuration properties to agents.event_processing (and more)
And some more renamings to avoid conflicts with the mass indexing
agents.
Commit: 27e9bcd3dcf2a27adeb5872be0558ee0042e6d1d
https://github.com/hibernate/hibernate-search/commit/27e9bcd3dcf2a27adeb5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M documentation/src/main/asciidoc/reference/coordination.asciidoc
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/OutboxPollingOrmSetupHelperConfig.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/OutboxPollingStrategyPropertyValueIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingBackendFailureIT.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/OutboxPollingAutomaticIndexingEdgeCasesIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingEventSendingIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingInvalidConfigurationIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingLifecycleIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingOutOfOrderIdsIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingRoutingIT.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-spring/src/test/resources/application-raised-timeout.yaml
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/cfg/impl/HibernateOrmMapperOutboxPollingImplSettings.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/impl/OutboxPollingCooordinationStrategy.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractClusterLinkTest.java
Log Message:
-----------
HSEARCH-4358 Remove the unnecessary "agents." prefix for event processor config properties
Commit: 4a0176ddce6b92890e490451080723ab9b55df50
https://github.com/hibernate/hibernate-search/commit/4a0176ddce6b92890e49...
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
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/cluster/impl/Agent.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/cluster/impl/AgentPersister.java
A mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/cluster/impl/AgentState.java
R mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/cluster/impl/EventProcessingState.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingEventProcessorClusterLink.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractClusterLinkBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractClusterLinkTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AgentRepositoryMockingHelper.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkDynamicShardingBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkMixedSharding4ShardSelfDynamicBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkMixedSharding4ShardSelfStaticBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkPulseExpectations.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkStaticSharding4ShardBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkStaticShardingEdgeCasesTest.java
Log Message:
-----------
HSEARCH-4358 Rename EventProcessingState to AgentState and REBALANCING to WAITING
So that it can be used for a mass indexer agent, too.
Commit: ecd83a4b017897a5acb52739a14c3fa60ce7945a
https://github.com/hibernate/hibernate-search/commit/ecd83a4b017897a5acb5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/impl/PojoMassIndexingBatchCoordinator.java
Log Message:
-----------
HSEARCH-4358 Reorder fields/methods in PojoMassIndexingBatchCoordinator
... for an easier time reading the code.
Commit: c910fbe9225e8d9c8cd370c16b785f171b7af0b2
https://github.com/hibernate/hibernate-search/commit/c910fbe9225e8d9c8cd3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/impl/PojoMassIndexingBatchCoordinator.java
Log Message:
-----------
HSEARCH-4358 Use Closer for more robust cleanup code in PojoMassIndexingBatchCoordinator
Commit: 3a62a09c7f527a0231807d336936083407c30481
https://github.com/hibernate/hibernate-search/commit/3a62a09c7f527a023180...
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/event/impl/OutboxPollingEventProcessor.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/logging/impl/Log.java
Log Message:
-----------
HSEARCH-4358 Remove a workaround specific to ORM 5.4 from OutboxPollingEventProcessor
We're on ORM 5.6 now.
Commit: 8fdae960465a8d2e45872419e1fe0c19182ae791
https://github.com/hibernate/hibernate-search/commit/8fdae960465a8d2e4587...
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/impl/OutboxPollingBeanConfigurer.java
R mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/impl/OutboxPollingCooordinationStrategy.java
A mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/impl/OutboxPollingCoordinationStrategy.java
Log Message:
-----------
HSEARCH-4358 Fix typo in name of OutboxPollingCoordinationStrategy
Commit: a406313881b7cbadbce74b188b529c7fa4fd96a4
https://github.com/hibernate/hibernate-search/commit/a406313881b7cbadbce7...
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/impl/OutboxPollingCoordinationStrategy.java
Log Message:
-----------
HSEARCH-4358 Move code specific to OutboxPollingEventProcessor configuration to that class
Commit: c16e22b9c9b587755c756a2f27c5651c701d9ba9
https://github.com/hibernate/hibernate-search/commit/c16e22b9c9b587755c75...
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/event/impl/OutboxPollingEventProcessor.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/coordination/common/spi/CoordinationStrategyStartContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/CoordinationStrategyStartContextImpl.java
Log Message:
-----------
HSEARCH-4358 Centralize the definition of clocks, used in all agents
Commit: 4e99ddd868b66002c22966a55a21d040f89ff985
https://github.com/hibernate/hibernate-search/commit/4e99ddd868b66002c229...
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/OutboxPollingStrategyPropertyValueIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingBackendFailureIT.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/OutboxPollingAutomaticIndexingEdgeCasesIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingEventSendingIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingLifecycleIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingOutOfOrderIdsIT.java
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingRoutingIT.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/cfg/impl/HibernateOrmMapperOutboxPollingImplSettings.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/impl/OutboxPollingCoordinationStrategy.java
Log Message:
-----------
HSEARCH-4358 Rename agent repository provider and outbox event finder provider settings
To clarify they are not necessarily specific to the outbox event
processor, and thus might affect other agents we're going to introduce.
Commit: bc152a9fd6f7de19fe680e73695919d7918b8331
https://github.com/hibernate/hibernate-search/commit/bc152a9fd6f7de19fe68...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
R mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractClusterLinkBaseTest.java
R mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractClusterLinkTest.java
A mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractEventProcessorClusterLinkBaseTest.java
A mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractEventProcessorClusterLinkTest.java
R mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkDynamicShardingBaseTest.java
R mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkLeaveClusterTest.java
R mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkMixedSharding4ShardSelfDynamicBaseTest.java
R mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkMixedSharding4ShardSelfStaticBaseTest.java
R mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkPulseExpectations.java
R mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkStaticSharding4ShardBaseTest.java
R mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkStaticShardingEdgeCasesTest.java
A mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/EventProcessorClusterLinkDynamicShardingBaseTest.java
A mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/EventProcessorClusterLinkLeaveClusterTest.java
A mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/EventProcessorClusterLinkMixedSharding4ShardSelfDynamicBaseTest.java
A mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/EventProcessorClusterLinkMixedSharding4ShardSelfStaticBaseTest.java
A mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/EventProcessorClusterLinkPulseExpectations.java
A mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/EventProcessorClusterLinkStaticSharding4ShardBaseTest.java
A mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/EventProcessorClusterLinkStaticShardingEdgeCasesTest.java
Log Message:
-----------
HSEARCH-4358 Rename cluster link tests to allow for more tests not related to event processing
Commit: 75a15fe3aa5dd28339ab8a91a06581537dff4104
https://github.com/hibernate/hibernate-search/commit/75a15fe3aa5dd28339ab...
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/impl/JavaBeanMapping.java
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/cluster/impl/AgentPersister.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/cluster/impl/AgentType.java
A mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractAgentClusterLink.java
A mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxConfigUtils.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/OutboxPollingEventProcessorClusterLink.java
A mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingMassIndexerAgent.java
A mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingMassIndexerAgentClusterLink.java
A mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingMassIndexingInstructions.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
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractEventProcessorClusterLinkBaseTest.java
A mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractMassIndexerAgentClusterLinkBaseTest.java
A mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractMassIndexerAgentClusterLinkTest.java
A mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/MassIndexerAgentClusterLinkDynamicShardingBaseTest.java
A mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/MassIndexerAgentClusterLinkLeaveClusterTest.java
A mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/MassIndexerAgentClusterLinkPulseExpectations.java
A mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/MassIndexerAgentClusterLinkStaticSharding3ShardBaseTest.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/common/spi/CooordinationStrategy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/impl/NoCoordinationStrategy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMapping.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/impl/PojoMassIndexerAgentCreateContextImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/impl/PojoMassIndexingBatchCoordinator.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/spi/NoOpPojoMassIndexerAgent.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/spi/PojoMassIndexerAgent.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/spi/PojoMassIndexerAgentCreateContext.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/spi/PojoMassIndexingMappingContext.java
Log Message:
-----------
HSEARCH-4358 Suspend event processing while mass indexing is in progress
Thanks to a mass indexer agent.
Commit: dd87485fc66e0ae8bc8e7b2aa1ec5684826eb23a
https://github.com/hibernate/hibernate-search/commit/dd87485fc66e0ae8bc8e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-30 (Tue, 30 Nov 2021)
Changed paths:
M documentation/src/main/asciidoc/reference/coordination.asciidoc
M documentation/src/main/asciidoc/reference/mapper-orm-indexing-massindexer.asciidoc
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/cfg/HibernateOrmMapperOutboxPollingSettings.java
Log Message:
-----------
HSEARCH-4358 Document mass indexer agents
Commit: bd6ab1aed8998799aba35ab1492fbde13bad6ae4
https://github.com/hibernate/hibernate-search/commit/bd6ab1aed8998799aba3...
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/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/EventProcessorClusterLinkDynamicShardingBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/EventProcessorClusterLinkMixedSharding4ShardSelfDynamicBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/EventProcessorClusterLinkMixedSharding4ShardSelfStaticBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/EventProcessorClusterLinkStaticSharding4ShardBaseTest.java
Log Message:
-----------
HSEARCH-4358 Fix obsolete class names in comments
Commit: dfa1686a31489f741480a0953e3ebb583402b1ce
https://github.com/hibernate/hibernate-search/commit/dfa1686a31489f741480...
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/OutboxPollingAutomaticIndexingWhileMassIndexingIT.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/CoordinationStrategyExpectations.java
Log Message:
-----------
HSEARCH-4358 Test that automatic indexing using outbox-polling is delayed when mass indexing is in progress
Commit: e055f4fdcffb1bd49cc840cbdcfb84466ac2d12d
https://github.com/hibernate/hibernate-search/commit/e055f4fdcffb1bd49cc8...
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
Log Message:
-----------
HSEARCH-4358 Improve error messages on unexpected calls in BackendMock
Commit: be6ee3ca4987a85316f84cd0382eff56c6ef5960
https://github.com/hibernate/hibernate-search/commit/be6ee3ca4987a85316f8...
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/OutboxPollingStrategyPropertyValueIT.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/impl/OutboxPollingBeanConfigurer.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
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/common/spi/CooordinationStrategy.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/common/spi/CoordinationStrategy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/impl/CoordinationConfigurationContextImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/impl/NoCoordinationStrategy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/impl/HibernateOrmBeanConfigurer.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMapperDelegate.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
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingPartialBuildState.java
Log Message:
-----------
HSEARCH-4358 Fix typo in the name of the CoordinationStrategy interface
Compare: https://github.com/hibernate/hibernate-search/compare/70d4372d05c4...be6e...
3 years
[hibernate/hibernate-orm] 55db51: HHH-14837 : Re-enable hibernate-jcache module.
by Chris Dennis
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 55db51894fa9219d3625d71d8a3405c6f79773e1
https://github.com/hibernate/hibernate-orm/commit/55db51894fa9219d3625d71...
Author: Chris Dennis <chris.w.dennis(a)gmail.com>
Date: 2021-11-29 (Mon, 29 Nov 2021)
Changed paths:
M documentation/documentation.gradle
M documentation/src/test/java/org/hibernate/userguide/caching/FirstLevelCacheTest.java
M documentation/src/test/java/org/hibernate/userguide/caching/NonStrictReadWriteCacheTest.java
M documentation/src/test/java/org/hibernate/userguide/mapping/identifier/CacheableNaturalIdTest.java
M documentation/src/test/java/org/hibernate/userguide/pc/MultiLoadIdTest.java
M gradle/libraries.gradle
M hibernate-jcache/hibernate-jcache.gradle
M hibernate-jcache/src/test/java/org/hibernate/orm/test/jcache/InsertedDataTest.java
M hibernate-jcache/src/test/java/org/hibernate/orm/test/jcache/JCacheTransactionalCacheConcurrencyStrategyTest.java
M hibernate-jcache/src/test/java/org/hibernate/orm/test/jcache/RefreshUpdatedDataTest.java
M hibernate-jcache/src/test/java/org/hibernate/orm/test/jcache/TestHelper.java
M hibernate-jcache/src/test/java/org/hibernate/orm/test/jcache/domain/EventManager.java
M hibernate-jcache/src/test/java/org/hibernate/orm/test/jcache/domain/Product.java
M release/release.gradle
M settings.gradle
Log Message:
-----------
HHH-14837 : Re-enable hibernate-jcache module.
3 years
[hibernate/hibernate-search] f109ea: HSEARCH-4374 Remove LocalHeapQueueCooordinationStr...
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: f109ea7a169272c0ae2aada626bdfb4f37e856ff
https://github.com/hibernate/hibernate-search/commit/f109ea7a169272c0ae2a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-29 (Mon, 29 Nov 2021)
Changed paths:
R integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/localheapqueue/LocalHeapQueueAutomaticIndexingBaseIT.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/CoordinationStrategyExpectations.java
R util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/coordination/localheap/LocalHeapQueueCooordinationStrategy.java
R util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/coordination/localheap/LocalHeapQueueIndexingEvent.java
R util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/coordination/localheap/LocalHeapQueueProcessor.java
Log Message:
-----------
HSEARCH-4374 Remove LocalHeapQueueCooordinationStrategy
It's only used in tests, so this does not affect users.
This strategy was useful as a proof-of-concept when we didn't have the
outbox-polling strategy, but right now it's become a drain of resources,
both on CI (more tests executed)
and simply when maintaining (have to keep implementing new methods from
the CoordinationStrategy interface).
Commit: 28f74d3f6058d358468fd5a33b35834b32575bf1
https://github.com/hibernate/hibernate-search/commit/28f74d3f6058d358468f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-29 (Mon, 29 Nov 2021)
Changed paths:
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendIndexingWorkExpectations.java
Log Message:
-----------
HSEARCH-4374 Avoid latency caused by long awaitility poll intervals in automatic indexing ITs
Commit: 70d4372d05c46ee41194c0a20f0704bff00c7160
https://github.com/hibernate/hibernate-search/commit/70d4372d05c46ee41194...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-29 (Mon, 29 Nov 2021)
Changed paths:
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/OutboxPollingOrmSetupHelperConfig.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/OrmSetupHelper.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/OrmSetupHelperConfig.java
Log Message:
-----------
HSEARCH-4374 Reduce the default polling interval in outbox-polling tests
So that they are shorter.
Compare: https://github.com/hibernate/hibernate-search/compare/aa0f46891117...70d4...
3 years
[hibernate/hibernate-orm] 0fbfc3: Fix refresh of a Proxy instance
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 0fbfc30eaa0bfda1b7ccd6435553943c90a160ae
https://github.com/hibernate/hibernate-orm/commit/0fbfc30eaa0bfda1b7ccd64...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-29 (Mon, 29 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/internal/StandardRowReader.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlyProxyTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlySessionLazyNonLazyTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlyTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlyVersionedNodesTest.java
M hibernate-core/src/test/java/org/hibernate/test/readonly/AbstractReadOnlyTest.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/ReadOnlyProxyTest.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/ReadOnlySessionLazyNonLazyTest.java
M hibernate-core/src/test/java/org/hibernate/test/readonly/ReadOnlySessionTest.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/ReadOnlyTest.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/ReadOnlyVersionedNodesTest.java
Log Message:
-----------
Fix refresh of a Proxy instance
Commit: b4cfe7e54a7e58544f1f321d67bda70c8cd1d376
https://github.com/hibernate/hibernate-orm/commit/b4cfe7e54a7e58544f1f321...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-29 (Mon, 29 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/sql/exec/internal/JdbcSelectExecutorStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/AbstractReadOnlyTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/Container.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/Course.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/DataPoint.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/DataPoint.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/Enrolment.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/Enrolment.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/Info.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/Owner.java
M hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlyProxyTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlySessionLazyNonLazyTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlySessionTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlyTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlyVersionedNodesTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/Student.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/StudentDTO.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/TextHolder.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/TextHolder.java
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/VersionedNode.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/readonly/VersionedNode.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/AbstractReadOnlyTest.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/Container.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/Course.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/DataPoint.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/readonly/DataPoint.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/Enrolment.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/readonly/Enrolment.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/Info.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/Owner.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/ReadOnlySessionTest.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/Student.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/StudentDTO.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/TextHolder.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/readonly/TextHolder.java
R hibernate-core/src/test/java/org/hibernate/test/readonly/VersionedNode.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/readonly/VersionedNode.java
Log Message:
-----------
Fix readOnly value and Query#scroll()
Compare: https://github.com/hibernate/hibernate-orm/compare/158968660857...b4cfe7e...
3 years