[hibernate/hibernate-search] 1c6023: HSEARCH-4647 Slightly simplify the mechanics of re...
by Yoann Rodière
Branch: refs/heads/6.1
Home: https://github.com/hibernate/hibernate-search
Commit: 1c6023237eee4a93c3e46b027da97c9735c256d1
https://github.com/hibernate/hibernate-search/commit/1c6023237eee4a93c3e4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractAgentClusterLink.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/event/impl/OutboxPollingMassIndexerAgentClusterLink.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractEventProcessorClusterLinkBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractMassIndexerAgentClusterLinkBaseTest.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-4647 Slightly simplify the mechanics of retries in outbox polling coordination
Commit: 280879ab3a2d198a722f5cf8313e74f984141f2e
https://github.com/hibernate/hibernate-search/commit/280879ab3a2d198a722f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
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/event/impl/OutboxPollingMassIndexerAgent.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/mapping/impl/OutboxPollingSearchMappingImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/spi/TransactionHelper.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmMassEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmMassIdentifierLoader.java
Log Message:
-----------
HSEARCH-4647 Make the transaction timeout an attribute of TransactionHelper
Instead of a parameter of its methods, so that we can pass a fully
parameterized TransactionHelper to other objects that have no idea what
the timeout should be.
In short, this is about separation of concerns in the changes coming in
the next commits.
Commit: 49694f5a32e02b2724dff12ff4b2e86eacb2840e
https://github.com/hibernate/hibernate-search/commit/49694f5a32e02b2724df...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingEventProcessor.java
Log Message:
-----------
HSEARCH-4647 Never perform event processing in the same transaction as a pulse
... to reduce transaction contention.
Commit: 0490b65df084a4e7bd2e3cc18d552870c68d827b
https://github.com/hibernate/hibernate-search/commit/0490b65df084a4e7bd2e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
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/event/impl/OutboxPollingMassIndexerAgent.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/mapping/impl/OutboxPollingSearchMappingImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/spi/TransactionHelper.java
M orm6/mapper/orm-coordination-outbox-polling/ant-src-changes.patch
M orm6/mapper/orm/ant-src-changes.patch
Log Message:
-----------
HSEARCH-4647 Remove unnecessary parameter in lambdas passed to TransactionHelper
We were always using the session from the surrounding context anyway, so
the parameter was not useful.
Commit: 023821493be264ae5975db33bbaf3165095af192
https://github.com/hibernate/hibernate-search/commit/023821493be264ae5975...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
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/event/impl/OutboxPollingMassIndexerAgent.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/spi/SessionHelper.java
Log Message:
-----------
HSEARCH-4647 Simplify the execution of code in a Hibernate ORM session
This will be useful for unit testing, in particular, where we want
to abstract away from sessions.
Commit: 9acb7a73105c73787a00b4b5f4b2e1ff63aff001
https://github.com/hibernate/hibernate-search/commit/9acb7a73105c73787a00...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M 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/AgentClusterLinkContext.java
A mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AgentClusterLinkContextProvider.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/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractEventProcessorClusterLinkBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractEventProcessorClusterLinkTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractMassIndexerAgentClusterLinkBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractMassIndexerAgentClusterLinkTest.java
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/EventProcessorClusterLinkLeaveClusterTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/EventProcessorClusterLinkStaticShardingEdgeCasesTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/MassIndexerAgentClusterLinkLeaveClusterTest.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/spi/SessionHelper.java
Log Message:
-----------
HSEARCH-4647 Move transaction boundary control to AgentClusterLinks
This does not change the behavior of outbox polling, but lays the
groundwork to changing it.
This will be necessary in the following commits.
Commit: 527e76ed4a561b49fecdb7bf2d839a48891f7cb1
https://github.com/hibernate/hibernate-search/commit/527e76ed4a561b49fecd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
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/event/impl/AbstractAgentClusterLink.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/AgentRepositoryMockingHelper.java
Log Message:
-----------
HSEARCH-4647 When registering an outbox-polling agent, do not do anything else in the same transaction
So that the risk of deadlocks (see below) is minimal
and other agents are made aware of this agent as soon as possible.
This avoids unnecessary rebalancing when multiple nodes start in quick succession to each other.
Commit: 30c778784efce02f7cc07cc71e2dfada45aae3ea
https://github.com/hibernate/hibernate-search/commit/30c778784efce02f7cc0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractAgentClusterLink.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/event/impl/OutboxPollingMassIndexerAgentClusterLink.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractEventProcessorClusterLinkTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractMassIndexerAgentClusterLinkTest.java
Log Message:
-----------
HSEARCH-4647 Split outbox polling transactions into smaller chunks
... to reduce transaction contention.
Commit: 7b9f0edd28be1d4c495f41d9005fa94416624395
https://github.com/hibernate/hibernate-search/commit/7b9f0edd28be1d4c495f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingEventProcessorClusterLink.java
Log Message:
-----------
HSEARCH-4647 Avoid confusing TRACE statements where no agents are to be suspended
Commit: e252e3209bd1eccca1d3b55f5ea0d9e18638e0e8
https://github.com/hibernate/hibernate-search/commit/e252e3209bd1eccca1d3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxEventLoader.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxEventUpdater.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingEventProcessor.java
Log Message:
-----------
HSEARCH-4634 Fall back to traditional, blocking locks for outbox event deletion when SKIP_LOCKED is not supported
Commit: 89dfa6ae02e19e77103c28873e0eb057e7dd4df2
https://github.com/hibernate/hibernate-search/commit/89dfa6ae02e19e77103c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M Jenkinsfile
M integrationtest/mapper/orm-realbackend/src/test/java/org/hibernate/search/integrationtest/mapper/orm/realbackend/limitations/ConcurrentEmbeddedUpdateLimitationIT.java
A orm6/integrationtest/mapper/orm-realbackend/ant-src-changes.patch
M parents/integrationtest/pom.xml
M pom.xml
Log Message:
-----------
HSEARCH-4644 Test against CockroachDB in continuous integration
Compare: https://github.com/hibernate/hibernate-search/compare/2ba6c955638d...89df...
2 years, 4 months
[hibernate/hibernate-search] 145f9f: HSEARCH-4647 Slightly simplify the mechanics of re...
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: 145f9f4f7f685d0a7dd165eef82c098ed6191687
https://github.com/hibernate/hibernate-search/commit/145f9f4f7f685d0a7dd1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractAgentClusterLink.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/event/impl/OutboxPollingMassIndexerAgentClusterLink.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractEventProcessorClusterLinkBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractMassIndexerAgentClusterLinkBaseTest.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-4647 Slightly simplify the mechanics of retries in outbox polling coordination
Commit: 37840d858110c4508c8234197abf1acbfae24a2e
https://github.com/hibernate/hibernate-search/commit/37840d858110c4508c82...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
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/event/impl/OutboxPollingMassIndexerAgent.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/mapping/impl/OutboxPollingSearchMappingImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/spi/TransactionHelper.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmMassEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmMassIdentifierLoader.java
Log Message:
-----------
HSEARCH-4647 Make the transaction timeout an attribute of TransactionHelper
Instead of a parameter of its methods, so that we can pass a fully
parameterized TransactionHelper to other objects that have no idea what
the timeout should be.
In short, this is about separation of concerns in the changes coming in
the next commits.
Commit: d36f82e2ddc24d1275f0a00d141b380ea4a86ad5
https://github.com/hibernate/hibernate-search/commit/d36f82e2ddc24d1275f0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingEventProcessor.java
Log Message:
-----------
HSEARCH-4647 Never perform event processing in the same transaction as a pulse
... to reduce transaction contention.
Commit: b89e51ffb6ca7fbcc7825ce5a7681aed6130c914
https://github.com/hibernate/hibernate-search/commit/b89e51ffb6ca7fbcc782...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
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/event/impl/OutboxPollingMassIndexerAgent.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/mapping/impl/OutboxPollingSearchMappingImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/spi/TransactionHelper.java
M orm6/mapper/orm-coordination-outbox-polling/ant-src-changes.patch
M orm6/mapper/orm/ant-src-changes.patch
Log Message:
-----------
HSEARCH-4647 Remove unnecessary parameter in lambdas passed to TransactionHelper
We were always using the session from the surrounding context anyway, so
the parameter was not useful.
Commit: e5b1439c996c1852f3f38a2090406b9213daf1ba
https://github.com/hibernate/hibernate-search/commit/e5b1439c996c1852f3f3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
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/event/impl/OutboxPollingMassIndexerAgent.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/spi/SessionHelper.java
Log Message:
-----------
HSEARCH-4647 Simplify the execution of code in a Hibernate ORM session
This will be useful for unit testing, in particular, where we want
to abstract away from sessions.
Commit: a1ee30cce3438cf1d4b8855679fdcbafac40e543
https://github.com/hibernate/hibernate-search/commit/a1ee30cce3438cf1d4b8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M 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/AgentClusterLinkContext.java
A mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AgentClusterLinkContextProvider.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/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractEventProcessorClusterLinkBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractEventProcessorClusterLinkTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractMassIndexerAgentClusterLinkBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractMassIndexerAgentClusterLinkTest.java
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/EventProcessorClusterLinkLeaveClusterTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/EventProcessorClusterLinkStaticShardingEdgeCasesTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/MassIndexerAgentClusterLinkLeaveClusterTest.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/spi/SessionHelper.java
Log Message:
-----------
HSEARCH-4647 Move transaction boundary control to AgentClusterLinks
This does not change the behavior of outbox polling, but lays the
groundwork to changing it.
This will be necessary in the following commits.
Commit: e5011c3dcb58ff0856cf28a4960ef0ac00a29e71
https://github.com/hibernate/hibernate-search/commit/e5011c3dcb58ff0856cf...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
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/event/impl/AbstractAgentClusterLink.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/AgentRepositoryMockingHelper.java
Log Message:
-----------
HSEARCH-4647 When registering an outbox-polling agent, do not do anything else in the same transaction
So that the risk of deadlocks (see below) is minimal
and other agents are made aware of this agent as soon as possible.
This avoids unnecessary rebalancing when multiple nodes start in quick succession to each other.
Commit: de48fa51ef755801ed6b962848a42f2485e5d4eb
https://github.com/hibernate/hibernate-search/commit/de48fa51ef755801ed6b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractAgentClusterLink.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/event/impl/OutboxPollingMassIndexerAgentClusterLink.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractEventProcessorClusterLinkTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractMassIndexerAgentClusterLinkTest.java
Log Message:
-----------
HSEARCH-4647 Split outbox polling transactions into smaller chunks
... to reduce transaction contention.
Commit: bc55c995936411eb51fdcb7db0b1912d64661820
https://github.com/hibernate/hibernate-search/commit/bc55c995936411eb51fd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingEventProcessorClusterLink.java
Log Message:
-----------
HSEARCH-4647 Avoid confusing TRACE statements where no agents are to be suspended
Commit: da9ce3efe64aa5e25445014da432dbadfa764a22
https://github.com/hibernate/hibernate-search/commit/da9ce3efe64aa5e25445...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxEventLoader.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxEventUpdater.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingEventProcessor.java
Log Message:
-----------
HSEARCH-4634 Fall back to traditional, blocking locks for outbox event deletion when SKIP_LOCKED is not supported
Commit: ec335a11ae93d930c7563a688010d63a40f000f6
https://github.com/hibernate/hibernate-search/commit/ec335a11ae93d930c756...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M Jenkinsfile
M integrationtest/mapper/orm-realbackend/src/test/java/org/hibernate/search/integrationtest/mapper/orm/realbackend/limitations/ConcurrentEmbeddedUpdateLimitationIT.java
A orm6/integrationtest/mapper/orm-realbackend/ant-src-changes.patch
M parents/integrationtest/pom.xml
M pom.xml
Log Message:
-----------
HSEARCH-4644 Test against CockroachDB in continuous integration
Compare: https://github.com/hibernate/hibernate-search/compare/2c08486db99c...ec33...
2 years, 4 months