Skip to content

IGNITE-28402 Fix OOM during WriteAheadLogManagerSelfTest#testNoRaceAutoArchiveAndDeactivation TC run#12964

Merged
zstan merged 1 commit intoapache:masterfrom
zstan:ignite-28402
Apr 1, 2026
Merged

IGNITE-28402 Fix OOM during WriteAheadLogManagerSelfTest#testNoRaceAutoArchiveAndDeactivation TC run#12964
zstan merged 1 commit intoapache:masterfrom
zstan:ignite-28402

Conversation

@zstan
Copy link
Copy Markdown
Contributor

@zstan zstan commented Apr 1, 2026

test breaks standard execution flow invariant:
it calls walMgr(n).onDeActivate before common node stop: stopAllGrids(); thus we can get situation when call
FileWriteAheadLogManager#stopAutoRollover concurently with checkpointing which bring us to segfault. For reproduing locally i change :
AVAILABLE_PROC_CNT = 8; // like on TC
and run test with: -Xmx2g -DIGNITE_MARSHAL_BUFFERS_RECHECK=1000 (like TC) and after 5 - 8 run it fails

to be honest, i prefer to remove this test at all: WriteAheadLogManagerSelfTest#testNoRaceAutoArchiveAndDeactivation

if (walAutoArchiveAfterInactivity > 0 || walForceArchiveTimeout > 0) {
assert timeoutRolloverMux != null;

GridTimeoutProcessor timeOutProc = cctx.time();
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not relates to an issue, just for warn removing

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 1, 2026

@zstan zstan merged commit 381029d into apache:master Apr 1, 2026
10 checks passed
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