[
https://issues.apache.org/jira/browse/IGNITE-14516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17320053#comment-17320053
]
Ignite TC Bot commented on IGNITE-14516:
----------------------------------------
{panel:title=Branch: [pull/9001/head] Base: [master] : Possible Blockers
(2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Basic 1{color} [[tests 0 Exit Code
|https://ci.ignite.apache.org/viewLog.html?buildId=5964449]]
{color:#d04437}SPI{color} [[tests 0 TIMEOUT , Exit Code
|https://ci.ignite.apache.org/viewLog.html?buildId=5964439]]
{panel}
{panel:title=Branch: [pull/9001/head] Base: [master] : New Tests
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}PDS 2{color} [[tests
1|https://ci.ignite.apache.org/viewLog.html?buildId=5964626]]
* {color:#013220}IgnitePdsTestSuite2: WalRolloverOnStopTest.testWallRollover -
PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5964511&buildTypeId=IgniteTests24Java8_RunAll]
> WAL can continue to log into archived segment if auto rollover enabled
> ----------------------------------------------------------------------
>
> Key: IGNITE-14516
> URL: https://issues.apache.org/jira/browse/IGNITE-14516
> Project: Ignite
> Issue Type: Improvement
> Reporter: Nikolay Izhikov
> Assignee: Nikolay Izhikov
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently, there is a possibility that WAL will continue to log into an
> archived segment after node restart.
> Bug scenario:
> # {{WalAutoArchiveAfterInactivity}} enabled.
> # Node is stopping with the {{G.stop("ign", false")}}.
> # T0: Performs last checkpoint write some records to current WAL
> segment({{Segment#0}}) and freeze.
> # T1: Auto rollover happens in
> {{FileWriteAheadLogManager#checkWalRolloverRequiredDuringInactivityPeriod}}.
> # T2({{FileArchiver}}) Archives {{Segment#0}}.
> After restart, WAL will continue to log into {{Segment#0}} which leads that
> newly logged data will not be archived after rollover because
> {{FileArchiver}} will wait for {{Segment#2}} in
> {{SegmentCurrentStateStorage#waitNextSegmentForArchivation}}.
> PR to highlight error - https://github.com/apache/ignite/pull/8997
> It seems we should to continue to log into the next segment if {{curAbsIdx ==
> lastArchivedSegment}} on start.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)