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

Deny block read requests when block is marked as deleted on Datanodes

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Inspired by HDDS-9146 – a sneaky data loss issue where the symptom (data loss) doesn't appear until the container is closed, we might want to add a safety on DNs so that as soon as a block is marked as deleted on a DN, the DN should refuse to serve the block right away, and throw an exception back to the client (stating the block is marked deleted on this Ozone Datanode).

      This will help us catch data loss issues similar to HDDS-9146 much sooner in UTs, integration tests, acceptance tests and even in production (where we could technically manually rescue the blocks on DNs before the container is closed and actually block deletion happened).

      cc Sumit Agrawal Ethan Rose Siddharth Wagle George Huang Tsz-wo Sze

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            smeng Siyao Meng

            Dates

              Created:
              Updated:

              Slack

                Issue deployment