Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.94.6, 0.95.0
    • Fix Version/s: 0.98.0, 0.94.7, 0.95.1
    • Component/s: None
    • Labels:
      None
    • Release Note:
      Hide
      HBase clients from 0.94.7 going forward support the following new API for Mutations (Put/Delete/Append/Increment).
      Mutation.setDurability(Durability). Possible durability settings are: USE_DEFAULT (use whatever the table has been configured with), SKIP_WAL (do not write anything to the WAL), ASYNC_WAL (write to the WAL asynchronously), SYNC (write to the WAL synchrously), FSYNC (write to the WAL synchronously and force to disc everywhere - currently not supported).

      Regionservers prior to 0.94.7 with ignore anything but SKIP_WAL and assume USE_DEFAULT.
      Show
      HBase clients from 0.94.7 going forward support the following new API for Mutations (Put/Delete/Append/Increment). Mutation.setDurability(Durability). Possible durability settings are: USE_DEFAULT (use whatever the table has been configured with), SKIP_WAL (do not write anything to the WAL), ASYNC_WAL (write to the WAL asynchronously), SYNC (write to the WAL synchrously), FSYNC (write to the WAL synchronously and force to disc everywhere - currently not supported). Regionservers prior to 0.94.7 with ignore anything but SKIP_WAL and assume USE_DEFAULT.

      Description

      Won't have time for parent. But a deferred sync option on a per operation basis comes up quite frequently.
      In 0.96 this can be handled cleanly via protobufs and 0.94 we can have a special mutation attribute.

      For batch operation we'd take the safest sync option of any of the mutations. I.e. if there is at least one that wants to be flushed we'd sync the batch, if there's none of those but at least one that wants deferred flush we defer flush the batch, etc.

      1. 7801-0.94-v7.txt
        16 kB
        Lars Hofhansl
      2. 7801-0.94-v6.txt
        16 kB
        Lars Hofhansl
      3. hbase-7801-addendum.patch
        0.8 kB
        Jeffrey Zhong
      4. 7801-0.94-v5.txt
        16 kB
        Lars Hofhansl
      5. 7801-0.94-v4.txt
        15 kB
        Lars Hofhansl
      6. 7801-0.96-v10.txt
        162 kB
        Lars Hofhansl
      7. 7801-0.96-v9.txt
        156 kB
        Lars Hofhansl
      8. 7801-0.96-v8.txt
        156 kB
        Lars Hofhansl
      9. 7801-0.96-v7.txt
        156 kB
        Lars Hofhansl
      10. 7801-0.96-v6.txt
        156 kB
        Lars Hofhansl
      11. 7801-0.96-full-v5.txt
        152 kB
        Lars Hofhansl
      12. 7801-0.96-full-v4.txt
        150 kB
        Lars Hofhansl
      13. 7801-0.96-full-v3.txt
        151 kB
        Lars Hofhansl
      14. 7801-0.96-full-v2.txt
        149 kB
        Lars Hofhansl
      15. 7801-0.94-v3.txt
        7 kB
        Lars Hofhansl
      16. 7801-0.96-v1.txt
        6 kB
        Lars Hofhansl
      17. 7801-0.94-v2.txt
        5 kB
        Lars Hofhansl
      18. 7801-0.94-v1.txt
        2 kB
        Lars Hofhansl

        Issue Links

          Activity

          Lars Hofhansl created issue -
          Lars Hofhansl made changes -
          Field Original Value New Value
          Attachment 7801-0.94.txt [ 12569111 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.94-v1.txt [ 12569113 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.94.txt [ 12569111 ]
          Lars Hofhansl made changes -
          Assignee Lars Hofhansl [ lhofhansl ]
          Anoop Sam John made changes -
          Link This issue relates to HBASE-7855 [ HBASE-7855 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.94-v2.txt [ 12569694 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.96-v1.txt [ 12569695 ]
          Lars Hofhansl made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          stack made changes -
          Fix Version/s 0.95.0 [ 12324094 ]
          Fix Version/s 0.96.0 [ 12320040 ]
          Fix Version/s 0.94.6 [ 12323907 ]
          Lars Hofhansl made changes -
          Affects Version/s 0.95.0 [ 12324094 ]
          Affects Version/s 0.94.6 [ 12323907 ]
          Lars Hofhansl made changes -
          Fix Version/s 0.94.6 [ 12323907 ]
          Lars Hofhansl made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.94-v3.txt [ 12571148 ]
          Lars Hofhansl made changes -
          Fix Version/s 0.98.0 [ 12323143 ]
          Fix Version/s 0.94.7 [ 12324039 ]
          Fix Version/s 0.94.6 [ 12323907 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.96-full-v2.txt [ 12572955 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.96-full-v3.txt [ 12573393 ]
          Lars Hofhansl made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.96-full-v4.txt [ 12573996 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.96-full-v5.txt [ 12574030 ]
          stack made changes -
          Fix Version/s 0.95.1 [ 12324288 ]
          Fix Version/s 0.95.0 [ 12324094 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.96-v6.txt [ 12577359 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.96-v7.txt [ 12577426 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.96-v8.txt [ 12577705 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.96-v9.txt [ 12577889 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.96-v10.txt [ 12578283 ]
          Lars Hofhansl made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.94-v4.txt [ 12578366 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.94-v5.txt [ 12578485 ]
          Jeffrey Zhong made changes -
          Attachment hbase-7801-addendum.patch [ 12578539 ]
          Lars Hofhansl made changes -
          Attachment 7801-0.94-v6.txt [ 12578582 ]
          Lars Hofhansl made changes -
          Release Note HBase clients from 0.94.7 going forward support the following new API for Mutations (Put/Delete/Append/Increment).
          Mutation.setDurability(Durability). Possible durability settings are: USE_DEFAULT (use whatever the table has been configured with), SKIP_WAL (do not write anything to the WAL), ASYNC_WAL (write to the WAL asynchronously), SYNC (write to the WAL synchrously), FSYNC (write to the WAL synchronously and force to disc everywhere - currently not supported).

          Regionservers prior to 0.94.7 with ignore anything but SKIP_WAL and assume USE_DEFAULT.
          Lars Hofhansl made changes -
          Attachment 7801-0.94-v7.txt [ 12578768 ]
          Lars Hofhansl made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Lars Hofhansl made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Lars George made changes -
          Link This issue is depended upon by HBASE-8848 [ HBASE-8848 ]
          Lars Hofhansl made changes -
          Link This issue relates to HBASE-9093 [ HBASE-9093 ]

            People

            • Assignee:
              Lars Hofhansl
              Reporter:
              Lars Hofhansl
            • Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development