[
https://issues.apache.org/jira/browse/IGNITE-10045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16670317#comment-16670317
]
Ignite TC Bot commented on IGNITE-10045:
----------------------------------------
{panel:title=No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
[TeamCity Run All
Results|http://ci.ignite.apache.org/viewLog.html?buildId=2194724&buildTypeId=IgniteTests24Java8_RunAll]
> Add fail-fast mode to bounded iteration of StandaloneWalRecordsIterator
> -----------------------------------------------------------------------
>
> Key: IGNITE-10045
> URL: https://issues.apache.org/jira/browse/IGNITE-10045
> Project: Ignite
> Issue Type: Improvement
> Reporter: Ivan Rakov
> Assignee: Alexey Stelmak
> Priority: Major
> Fix For: 2.8
>
>
> Since IGNITE-9294 StandaloneWalRecordsIterator supports bounded iteration.
> That means we can specify "from" and "to" WAL pointers and iterator will
> return records only between given bounds.
> The problem is that in current implementation StandaloneWalRecordsIterator
> just skips segments if they are missing. For example: if we'll specify
> fromIdx=0, toIdx = 10 and segments with indexes=[9, 10] will be missing,
> we'll just silently finish iteration on idx=8.
> To prevent that, we should be able to switch on fail-fast mode, in which
> StandaloneWalRecordsIterator will throw error unless iteration is really
> started from left bound and ended on right bound.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)