shrinidhi-arista opened a new pull request, #8233: URL: https://github.com/apache/hbase/pull/8233
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 .*) 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
