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

Allow atomic put/delete in one call

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Right now we have the following calls:

      put(Put)
      delete(Delete)
      increment(Increments)

      But we cannot combine all of the above in a single call, complete with a single row lock. It would be nice to do that.

      It would also allow us to do a CAS where we could do a put/increment if the check succeeded.


      Amendment:
      Since Increment does not currently support MVCC it cannot be included in an atomic operation.
      So this for Put and Delete only.

      Attachments

        1. 3584-v1.txt
          22 kB
          Lars Hofhansl
        2. 3584-v3.txt
          28 kB
          Lars Hofhansl
        3. 3584-final.txt
          29 kB
          Lars Hofhansl

        Issue Links

          Activity

            People

              larsh Lars Hofhansl
              ryanobjc ryan rawson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: