HBase
  1. HBase
  2. HBASE-4071

Data GC: Remove all versions > TTL EXCEPT the last written version

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.92.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Even if older than TTL, keep N versions; e.g. if N is 1, we'll purge all versions but the most recent written even if this one version is older than TTL.

      Description

      We were chatting today about our backup cluster. What we want is to be able to restore the dataset from any point of time but only within a limited timeframe – say one week. Thereafter, if the versions are older than one week, rather than as we do with TTL where we let go of all versions older than TTL, instead, let go of all versions EXCEPT the last one written. So, its like versions==1 when TTL > one week. We want to allow that if an error is caught within a week of its happening – user mistakenly removes a critical table – then we'll be able to restore up the the moment just before catastrophe hit otherwise, we keep one version only.

      1. MinVersions.diff
        19 kB
        Lars Hofhansl
      2. MinVersions-v9.diff
        43 kB
        Lars Hofhansl

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Lars Hofhansl
              Reporter:
              stack
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development