You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "shrinidhi-arista (via GitHub)" <gi...@apache.org> on 2026/05/13 04:19:24 UTC

[PR] HBASE-30154: Fix hlink missing backreference causing dataloss [hbase]

shrinidhi-arista opened a new pull request, #8232:
URL: https://github.com/apache/hbase/pull/8232

   Fix includes -
   
   - RestoreSnapshotHelper: write a back-reference to the archive when creating an
     HFileLink Reference file, so HFileLinkCleaner knows the archived HFile is still live.
     
     Added test TestCloneSnapshotFromClientAfterMergingRegion which fails with FileNotFound
     exception while checking if all the hfiles referenced by cloned table are available. Disabling and
     enabling the table also causes the test to hang because of master retrying indefinitely. The test
     passes with the fix.
   
   - HFileLinkCleaner: when evaluating a back-reference, also check for HFileLink Reference
     files (glob <hfileLinkName>.*) in the link directory — these are created by
     restoreReferenceFile() and protect the archived HFile even when no zero-byte HFileLink
     file exists alongside them.
     
     Added testHFileLinkReferenceFileProtectsArchivedHFile() which fails while asserting that Hfile
     is not cleaned up but passes with the fix.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] HBASE-30154: Fix hlink missing backreference causing dataloss [hbase]

Posted by "shrinidhi-arista (via GitHub)" <gi...@apache.org>.
shrinidhi-arista closed pull request #8232: HBASE-30154: Fix hlink missing backreference causing dataloss
URL: https://github.com/apache/hbase/pull/8232


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org