Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6548 HDDS Stability Fixes and Improvements
  3. HDDS-8115

Do not use block count to determine if containers are empty

    XMLWordPrintableJSON

Details

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

    Description

      Ozone currently uses a block count metadata field for each container replica to determine whether it is empty. This counter can be incorrect in some cases and is difficult to maintain. It is only used to determine whether the container is empty. In this case, it would be simpler to have a an isEmpty boolean for each container that starts as false and is set to true when a delete block is processed and the block table is empty.

      Attachments

        Issue Links

          Activity

            People

              ashishk Ashish Kumar
              erose Ethan Rose
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: