[
https://issues.apache.org/jira/browse/IGNITE-18720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maksim Timonin updated IGNITE-18720:
------------------------------------
Description: Currently IS during restore checks
IncrementalSnapshotFinishRecord in last segment, but it's incorrectly get it.
Files.list() doesn't provide guarantees for ordering, also alphabetical order
might be wrong - we must check FileDescriptor of WAL segment to ensure the
order. (was: By default WAL iterator skips corrupted segment. For restoring
snapshot it's required to fail if segment is corrupted.)
> Failed to find IncrementalSnapshotFinishRecord if snapshot has multiple
> segments
> --------------------------------------------------------------------------------
>
> Key: IGNITE-18720
> URL: https://issues.apache.org/jira/browse/IGNITE-18720
> Project: Ignite
> Issue Type: Sub-task
> Reporter: Maksim Timonin
> Assignee: Maksim Timonin
> Priority: Major
> Labels: IEP-89, ise
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently IS during restore checks IncrementalSnapshotFinishRecord in last
> segment, but it's incorrectly get it. Files.list() doesn't provide guarantees
> for ordering, also alphabetical order might be wrong - we must check
> FileDescriptor of WAL segment to ensure the order.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)