[
https://issues.apache.org/jira/browse/HDDS-9215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17762230#comment-17762230
]
Hemant Kumar edited comment on HDDS-9215 at 9/5/23 11:24 PM:
-------------------------------------------------------------
Merged in [#5223|https://github.com/apache/ozone/pull/5223]
was (Author: JIRAUSER297350):
Merged in #5223
> Snapshot Chain corruption because snapshot chain need not be created in
> increasing order of CreatedTime
> -------------------------------------------------------------------------------------------------------
>
> Key: HDDS-9215
> URL: https://issues.apache.org/jira/browse/HDDS-9215
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Swaminathan Balachandran
> Assignee: Swaminathan Balachandran
> Priority: Critical
> Labels: pull-request-available
>
> SnapshotCreateRequest creates snapshotInfo created time in pre-execute phase
> whose order need not be the same as the ratis log ordering. So 2 consecutive
> snapshot created in the snapshot info table need not be in increasing order
> of created time. SnapshotChainManager on om restart tries to load the
> snapshot in the increasing order of their created time. Thus throws a
> SnapshotChainCorruption exception in this case as it previous snapshot is not
> loaded but SnapshotChainManager expects that the previous snapshot be loaded
> before trying to load the current snapshot.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]