Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-search
Commit: d964e3c87f6f4d96a31f68cbf7385de67ba1c19e
https://github.com/hibernate/hibernate-search/commit/d964e3c87f6f4d96a31f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-02-22 (Wed, 22 Feb 2023)
Changed paths:
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/OutboxPollingAutomaticIndexingEdgeCasesIT.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/testsupport/util/OutboxEventFilter.java
M
mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/DefaultOutboxEventFinder.java
M
mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/EntityIdHashRangeOutboxEventPredicate.java
M
mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxEventAndPredicate.java
M
mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxEventPredicate.java
Log Message:
-----------
HSEARCH-4804 Optimize filters and queries around outbox events used in tests
Just on the off-chance that some flakiness we've witnessed is caused by
test threads not being able to react quick enough between when event
processing starts and when it drained all events.
Fixes:
1. Retrieving 1,000 events at once is a lot, especially if we just end
up counting them.
2. "with e.id in (<here go 1,000 ID values>)" is actually quite costly;
with 10,000 it even leads to an OutOfMemoryError.
Commit: e09fe5793ff2e5a384886ca1213a97a1be784996
https://github.com/hibernate/hibernate-search/commit/e09fe5793ff2e5a38488...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-02-22 (Wed, 22 Feb 2023)
Changed paths:
M
integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingLifecycleIT.java
Log Message:
-----------
HSEARCH-4804 Generate many more outbox events in
OutboxPollingAutomaticIndexingLifecycleIT#stopWhileOutboxEventsIsBeingProcessed
Just on the off-chance that some flakiness we've witnessed is caused by
test threads not being able to react quick enough between when event
processing starts and when it drained all events.
Compare:
https://github.com/hibernate/hibernate-search/compare/bd5d1296efa9...e09f...