Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
-
Added a read/write lock implementation based on zookeeper recipe, and a table lock per HBase table. Master operations acquire a write lock to the table. Configuration, "hbase.table.lock.enable" can be used to disable the implementation.
-
0.96notable
Description
This has started as forward porting of HBASE-5494 and HBASE-5991 from the 89-fb branch to trunk, but diverged enough to have it's own issue.
The idea is to implement a zk based read/write lock per table. Master initiated operations should get the write lock, and region operations (region split, moving, balance?, etc) acquire a shared read lock.
Attachments
Attachments
Issue Links
- is related to
-
HBASE-7848 Use ZK-based read/write lock to make flush-type snapshot robust against table enable/disable/alter
- Closed
- relates to
-
HBASE-7546 Obtain a table read lock on region split operations
- Closed
-
HBASE-7980 TestZKInterProcessReadWriteLock fails occasionally in QA test run
- Closed
-
HBASE-5494 Introduce a zk hosted table-wide read/write lock so only one table operation at a time
- Closed
-
HBASE-5991 Introduce sequential ZNode based read/write locks
- Closed
-
HBASE-7374 Expose master table operations for coprocessors by way of MasterServices
- Closed