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

implement getAndPut() and getAndDelete()

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Won't Do
    • 2.0.0
    • 2.0.0
    • None
    • None

    Description

      We implement the getAndPut() and getAndDelete() by coprocessor, but there are a lot of duplicate effort (e.g., data checks, row lock, returned value, and wal). It is cool if we provide the compare-and-swap primitive.

      The draft patch is attached. Any advice and suggestions will be greatly appreciated.
      Thanks.

      Attachments

        1. HBASE-17076-v0.patch
          228 kB
          Chia-Ping Tsai
        2. HBASE-17076-v1.patch
          228 kB
          Chia-Ping Tsai
        3. HBASE-17076-v2.patch
          228 kB
          Chia-Ping Tsai
        4. HBASE-17076-v3.patch
          228 kB
          Chia-Ping Tsai

        Issue Links

          Activity

            People

              chia7712 Chia-Ping Tsai
              chia7712 Chia-Ping Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: