Affects Version/s: None
Fix Version/s: None
Discussion ticket around snapshots and hardlink alternatives.
(See the HDFS-3370 discussion about hardlink and implementation problems)
(taking for a moment WAL out of the discussion and focusing on hfiles)
With hardlinks available taking snapshot will be fairly easy:
- (hfiles are immutable)
- hardlink to .snapshot/name to take snapshot
- hardlink from .snapshot/name to restore the snapshot
- No code change needed (on fs.delete() only one reference is deleted)
but we don't have hardlinks, what are the alternatives?