Details
Description
TestSnapshotScannerHDFSAclController is failing 100% on flaky dashboard.
After snapshot is committed from working dir to final destination (under /.hbase-snapshot dir), if the operation was atomic rename, the working dir (e.g. /hbase/.hbase-snapshot/.tmp) no longer preserves ACLs that were derived from snapshot parent dir (e.g. /hbase/.hbase-snapshot) while creating first working snapshot dir. Hence, for new working dir, we should ensure that we preserve ACLs from snapshot parent dir.
This would ensure that final snapshot commit dir has the expected ACLs regardless of whether we perform atomic rename of non-atomic copy operation in the snapshot commit phase.
Attachments
Issue Links
- is broken by
-
HBASE-28042 Snapshot corruptions due to non-atomic rename within same filesystem
- Resolved
- links to