Skip to content

ARTEMIS-5376 Preventing OME from QueueImpl::iteration while paging#6251

Draft
clebertsuconic wants to merge 1 commit intoapache:mainfrom
clebertsuconic:ARTEMIS-5376
Draft

ARTEMIS-5376 Preventing OME from QueueImpl::iteration while paging#6251
clebertsuconic wants to merge 1 commit intoapache:mainfrom
clebertsuconic:ARTEMIS-5376

Conversation

@clebertsuconic
Copy link
Contributor

No description provided.

@clebertsuconic
Copy link
Contributor Author

@AntonRoskvist / @jbertram if you guys could review this please?

@clebertsuconic clebertsuconic marked this pull request as draft February 25, 2026 21:26
@clebertsuconic
Copy link
Contributor Author

I'm converting this to draft as I have a few test failures

@clebertsuconic clebertsuconic force-pushed the ARTEMIS-5376 branch 3 times, most recently from 8340a2c to 4deeced Compare February 26, 2026 15:50
@clebertsuconic clebertsuconic marked this pull request as ready for review February 26, 2026 15:52
@clebertsuconic clebertsuconic force-pushed the ARTEMIS-5376 branch 3 times, most recently from f0c4d57 to c755f2e Compare February 26, 2026 17:05
@jbertram
Copy link
Contributor

Why do some operations pass true for allowDepaging and others don't?

@clebertsuconic
Copy link
Contributor Author

changeMessagePriority will need to change the message in memory. That means that the message needs to be in the queue for that to happen.

I will convert this to draft BTW as I have a few test failures.

@clebertsuconic
Copy link
Contributor Author

@jbertram I will have to remove this allowDepaging thing probably. and keep the old behaviour, however i will have to limit memory accordingly to configuration.

@clebertsuconic clebertsuconic marked this pull request as draft February 26, 2026 20:28
@clebertsuconic clebertsuconic force-pushed the ARTEMIS-5376 branch 2 times, most recently from f096657 to cf8b124 Compare February 26, 2026 20:59
@clebertsuconic clebertsuconic marked this pull request as ready for review February 26, 2026 21:01
@clebertsuconic
Copy link
Contributor Author

@jbertram Renamed to separatePageIterator, used only when removing messages with or without a filter. This avoids depaging into memory while maintaining consistency for other operations.

@clebertsuconic clebertsuconic marked this pull request as draft February 27, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants