Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7593 Supporting HSync and lease recovery
  3. HDDS-11014

[hsync] Block finalization should also merge last chunk to blockDataTable

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • HDDS-7593
    • None

    Description

      We designed a separate lastChunkInfoTable to record the last chunk of a block that may be rapidly updated by hsync.

      That is causing a lot of problems because if a block is not longer than a full chunk, it would appear to be missing to other part of Ozone system, causing data loss.

       

      We should merge the block data from lastChunkInfoTable to blockDataTable when the block is finalized. 

       

      And also when end of block is reached.

      Attachments

        Issue Links

          Activity

            People

              weichiu Wei-Chiu Chuang
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: