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

Resolve LATEST_TIMESTAMP to current server time before scanning for ACLs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.98.1
    • 0.99.0, 0.98.2
    • None
    • None
    • 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.hbase and myself.

      Attachments

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

        Issue Links

          Activity

            People

              apurtell Andrew Kyle Purtell
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: