Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The current DistributedLock could use some improvement:
- A lockClient is unnecessarily required.
- The watchPath is actually an on-unlock listener and the current name failed to make it clear.
- Could add a blocking version of lockPath and that will ease use cases like
KYLIN-2557and GlobalDictionaryBuilder.lock() - Should add more javadoc on the interface
Attachments
Issue Links
- is depended upon by
-
KYLIN-2557 Fix creating HBase table conflict when multiple kylin instances are starting concurrently
- Closed
- links to