Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-8544 Snapshot feature Phase 2 : Further enhancements for Ozone Snapshots
  3. HDDS-9685

OM is getting stuck on snapshot creation if snapshot chain is corrupted

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • None

    Description

      As fix of HDDS-9199, exceptions in snapshot chain creation were changed ISE and same is thrown back from OMSnapshotCreateRequest. https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/snapshot/OMSnapshotCreateRequest.java#L282

      Because of this, if snapshot creation fails due to snapshot chain corruption, OMSnapshotCreateRequest throws IllegalStateException which is not handled by the state machine.

      This task is to handle IllegalStateException properly in OMSnapshotCreateRequest so that state machine can handle it properly.

      Attachments

        Issue Links

          Activity

            People

              hemantk Hemant Kumar
              hemantk Hemant Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: