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

Write-If-Not-Modified-Since support

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 0.90.0
    • None
    • Client, io, regionserver
    • None

    Description

      Write-If-Not-Modified-Since for optimistic concurrency control:

      Client retrieves cell (or row) and stores timestamp.
      Client writes to same cell (or row) and passes timestamp.
      If the cell's (or row's) latest timestamp matches the passed timestamp, the write succeeds. If the timestamps do not match, the write fails and the client is notified. The client must re-retrieve the cell/row to get the latest timestamp before attempting to write back.

      This behavior would be optional, if the client doesn't pass a timestamp to the write method, no modified check would be enforced.

      Note: blocked behind HBASE-489 due to requirement that client be able to access timestamp values.

      Attachments

        1. HBASE-493.patch
          13 kB
          Andrei Dragomir
        2. HBASE-493.v2.patch
          13 kB
          Andrei Dragomir

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chrisrichard Chris Richard
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: