Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.13.0
Description
This is a follow-up fix for #8111.
Currently, the hoodie.auto.adjust.lock.configs opiton is by default false for batch mode ingestion,
and true for spark streaming sink and delta_streamer, while MDT is by default enabled.
For multiple streaming writers with no explicit lock provider set up, InProcessLockProvider should not be used.
Change list:
- Restrict the option hoodie.auto.adjust.lock.configs to take effect in single writer scope, because for multi-writer, the
InProcessLockProvider can not work as expected among hosts/processes; - The LockManager #lock and #unlock are invoked from the TransactionManager
which already does the checks for the requirement of an explicit lock, remove the redundant check in LockManager.
Attachments
Issue Links
- links to