Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6233

[brainstorm] snapshots: hardlink alternatives

    XMLWordPrintableJSON

Details

    • Brainstorming
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      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?

      Attachments

        1. Restore-Snapshot-Hardlink-alternatives.pdf
          90 kB
          Matteo Bertozzi
        2. Restore-Snapshot-Hardlink-alternatives-v2.pdf
          95 kB
          Matteo Bertozzi

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mbertozzi Matteo Bertozzi
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: