hemantk-12 opened a new pull request, #4677: URL: https://github.com/apache/ozone/pull/4677
## What changes were proposed in this pull request? OM was crashing on the restart because snapshot chain was getting corrupted. On the deep dive, it is found that it is because creation time of snapshots are not unique among snapshots and causing the failure. Mode details are in jira: https://issues.apache.org/jira/browse/HDDS-8530. This change is to pass the creation time through [preExecute](https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/snapshot/OMSnapshotCreateRequest.java#L92) instead of each OM node using current time as creation time. Creation time is passed similar to `snapshotId`. This change also includes some logging changes in SnapshotChainManager from log more information to debug any future issue. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8530 ## How was this patch tested? Added integration test to verify. Pending on https://github.com/apache/ozone/pull/4657 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
