Details

    • Hadoop Flags:
      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.

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

        Issue Links

          Activity

          Lars Hofhansl made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Lars Hofhansl made changes -
          Link This issue relates to HBASE-5569 [ HBASE-5569 ]
          Lars Hofhansl made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Lars Hofhansl made changes -
          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 MVCC it cannot be included in an atomic operation.
          So this for Put and Delete only.
          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.
          Lars Hofhansl made changes -
          Hadoop Flags Reviewed [ 10343 ]
          Summary We need to atomically put/delete/increment in one call Allow atomic put/delete in one call
          Issue Type Bug [ 1 ] New Feature [ 2 ]
          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.
          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 MVCC it cannot be included in an atomic operation.
          So this for Put and Delete only.
          Lars Hofhansl made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Lars Hofhansl made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Lars Hofhansl made changes -
          Attachment 3584-final.txt [ 12510551 ]
          Lars Hofhansl made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Lars Hofhansl made changes -
          Fix Version/s 0.94.0 [ 12316419 ]
          Component/s client [ 12312131 ]
          Component/s coprocessors [ 12314191 ]
          Component/s regionserver [ 12312139 ]
          Lars Hofhansl made changes -
          Attachment 3584-v3.txt [ 12510460 ]
          Lars Hofhansl made changes -
          Assignee Lars Hofhansl [ lhofhansl ]
          Lars Hofhansl made changes -
          Attachment 3584-v1.txt [ 12510424 ]
          stack made changes -
          Fix Version/s 0.92.0 [ 12314223 ]
          stack made changes -
          Field Original Value New Value
          Link This issue is part of HBASE-3523 [ HBASE-3523 ]
          ryan rawson created issue -

            People

            • Assignee:
              Lars Hofhansl
              Reporter:
              ryan rawson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development