You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Swaminathan Balachandran (Jira)" <ji...@apache.org> on 2023/08/25 06:09:00 UTC
[jira] [Created] (HDDS-9215) Snapshot Chain corruption because snapshot chain need not be created in increasing order of CreatedTime
Swaminathan Balachandran created HDDS-9215:
----------------------------------------------
Summary: 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
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org