Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-1162 Data Scrubbing for Ozone Containers
  3. HDDS-1365

Fix error handling in KeyValueContainerCheck

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.1
    • Ozone Datanode
    • None

    Description

      Error handling and propagation in KeyValueContainerCheck needs to be based on throwing IOException instead of passing an error code to the calling function.

      HDDS-1163 implemented the basic framework using a mix of error code return and exception handling. There is added complexity because exceptions deep inside the call chain are being caught and translated to error code return values. The goal is to change all error handling in this class to use Exceptions.

      Attachments

        1. HDDS-1365.000.patch
          16 kB
          Supratim Deka

        Activity

          People

            sdeka Supratim Deka
            sdeka Supratim Deka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: