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: [email protected]
For additional commands, e-mail: [email protected]