Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-search
Commit: d57d48feb8ad8af2063403cf359eedfeba711ae2
https://github.com/hibernate/hibernate-search/commit/d57d48feb8ad8af20634...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-24 (Wed, 24 Nov 2021)
Changed paths:
M
integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingDynamicShardingRebalancingIT.java
Log Message:
-----------
HSEARCH-4369 Make OutboxPollingAutomaticIndexingDynamicShardingRebalancingIT more
resilient to fast event processing
Commit: 99c4a1dfac23ea4eeb934cb9f0f683b87ba54d00
https://github.com/hibernate/hibernate-search/commit/99c4a1dfac23ea4eeb93...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-24 (Wed, 24 Nov 2021)
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-4369 Skip the polling interval in OutboxPollingEventProcessor when there might
be more events to process
Commit: ce662deade28efb9a9e8dce1eb9ce08ff2d93346
https://github.com/hibernate/hibernate-search/commit/ce662deade28efb9a9e8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-24 (Wed, 24 Nov 2021)
Changed paths:
M
integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/PerSessionFactoryIndexingCountHelper.java
Log Message:
-----------
HSEARCH-4369 Improve API and assertion error messages in
PerSessionFactoryIndexingCountHelper
To ease debugging.
Commit: c6d390f2d32937912db7f488a7411e05a588eec1
https://github.com/hibernate/hibernate-search/commit/c6d390f2d32937912db7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-24 (Wed, 24 Nov 2021)
Changed paths:
M
mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AgentInstructions.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/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/ClusterLinkLeaveClusterTest.java
M
mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkStaticShardingEdgeCasesTest.java
Log Message:
-----------
HSEARCH-4369 Schedule outbox event processor tasks later when cluster link instructions
require a delay
This should little effect except for the fact we will no longer poll
every 100ms when waiting until the pulse interval (around 2s) is elapsed;
that was completely pointless as the ScheduledThreadExecutor allows us
to just request for the worker to resume its work 2s later.
As an added benefit, IMO, the code is clearer because we spell out what
the delay will be when we schedule the worker for execution.
Compare:
https://github.com/hibernate/hibernate-search/compare/006f7bda0c67...c6d3...