HBase
  1. HBase
  2. HBASE-3787

Increment is non-idempotent but client retries RPC

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.94.4, 0.95.2
    • Fix Version/s: 0.98.0, 0.99.0
    • Component/s: Client
    • Labels:
      None

      Description

      The HTable.increment() operation is non-idempotent. The client retries the increment RPC a few times (as specified by configuration) before throwing an error to the application. This makes it possible that the same increment call be applied twice at the server.

      For increment operations, is it better to use HConnectionManager.getRegionServerWithoutRetries()? Another option would be to enhance the IPC module to make the RPC server correctly identify if the RPC is a retry attempt and handle accordingly.

      1. HBASE-3787-v9.patch
        202 kB
        Sergey Shelukhin
      2. HBASE-3787-v8.patch
        201 kB
        Sergey Shelukhin
      3. HBASE-3787-v7.patch
        199 kB
        Sergey Shelukhin
      4. HBASE-3787-v6.patch
        190 kB
        Sergey Shelukhin
      5. HBASE-3787-v5.patch
        119 kB
        Sergey Shelukhin
      6. HBASE-3787-v5.patch
        119 kB
        Sergey Shelukhin
      7. HBASE-3787-v4.patch
        117 kB
        Sergey Shelukhin
      8. HBASE-3787-v3.patch
        111 kB
        Sergey Shelukhin
      9. HBASE-3787-v2.patch
        111 kB
        Sergey Shelukhin
      10. HBASE-3787-v12.patch
        210 kB
        Sergey Shelukhin
      11. HBASE-3787-v11.patch
        209 kB
        Sergey Shelukhin
      12. HBASE-3787-v10.patch
        204 kB
        Sergey Shelukhin
      13. HBASE-3787-v1.patch
        108 kB
        Sergey Shelukhin
      14. HBASE-3787-v0.patch
        94 kB
        Sergey Shelukhin
      15. HBASE-3787-partial.patch
        64 kB
        Sergey Shelukhin

        Issue Links

          Activity

            People

            • Assignee:
              Sergey Shelukhin
              Reporter:
              dhruba borthakur
            • Votes:
              0 Vote for this issue
              Watchers:
              22 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development