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

[hsync] Lease recovery failed as "Unable to find the block"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • HDDS-7593
    • None

    Description

      MakeĀ ozone.scm.block.sizeĀ as 10B for fast reproduction

      1. Write 5B data (localID = 113750153625600001 allocated)
      2. Do hsync
      3. Write another 10B data (localID = 113750153625600002 allocated and kept in openFileTable), DN metadata still has only 113750153625600001 block ID with size 5 as data not yet flushed to DN
      4. Do lease recover, Client tries to finalize 113750153625600002 block but this block doesn't exist in DN and failed with below error

      Unable to find the block. BlockID : conID: 1 locID: 113750153625600002 bcsId: 0

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: