Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
-
Added Durability setting for table with HTableDescriptor.setDurability() API. Deprecated HTableDescriptor.setDeferredLogFlush(), and shell usage in favor of the new durability setting. Now, durability can be configured per table and per mutation.
Description
HBASE-7801 introduces the notion of per mutation fine grained durability settings.
This issue is to consider and the discuss the same for the per table settings (i.e. what would be used if the mutation indicates USE_DEFAULT). I propose the following setting per table:
- SKIP_WAL (i.e. an unlogged table)
- ASYNC_WAL (the current deferred log flush)
- SYNC_WAL (the current default)
- FSYNC_WAL (for future uses of HDFS' hsync())