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

Resolve LATEST_TIMESTAMP to current server time before scanning for ACLs

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.98.1
    • Fix Version/s: 0.99.0, 0.98.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Storing values with timestamps in the future is probably bad practice and can lead to surprises. If cells with timestamps in the future have ACLs, permissions from those ACLs will incorrectly be considered for authorizing the pending mutation. For sure that will be surprising.

      We should be able to avoid this case by resolving LATEST_TIMESTAMP to the current server time when creating the internal scanner for finding ACLs in the covered cell set.

      Documenting a todo item from a discussion between Anoop Sam John and myself.

        Attachments

        1. HBASE-10823.patch
          13 kB
          Andrew Purtell
        2. HBASE-10823.patch
          6 kB
          Andrew Purtell
        3. HBASE-10823.patch
          68 kB
          Andrew Purtell
        4. test.patch
          7 kB
          Anoop Sam John

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                apurtell Andrew Purtell
                Reporter:
                apurtell Andrew Purtell
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: