Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-8447

Datanodes should not process container deletes for failed volumes

    XMLWordPrintableJSON

Details

    Description

      Before HDDS-6449, if there was an error deleting containers from datanodes, the operation would be abandoned, leaving behind container pieces which could be problematic on restart. After that fix, deletion is more robust and moves the container to a volume specific tmp directory before deletion. This requires the volume to be present and healthy otherwise it will fail and the DN will be stuck in a container delete retry loop. In this jira, we will:
      1. Check if the volume is in the failed volume set before deleting a container.
      2. Trigger an on-demand volume scan if there is an IO error deleting the container.

      Attachments

        Issue Links

          Activity

            People

              sshenoy Sadanand Shenoy
              asarin Arun Sarin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: