xushiyan commented on code in PR #7604: URL: https://github.com/apache/hudi/pull/7604#discussion_r1062708493
########## website/versioned_docs/version-0.12.0/concurrency_control.md: ########## @@ -47,7 +47,34 @@ hoodie.cleaner.policy.failed.writes=LAZY hoodie.write.lock.provider=<lock-provider-classname> ``` -There are 3 different server based lock providers that require different configuration to be set. +There are 4 different lock providers that require different configurations to be set. + +**`FileSystem`** based lock provider + +FileSystem based lock provider provides an out-of-box way to support multiple writers cross different jobs/applications based on atomic +create/delete operations of the underlying filesystem + +``` +hoodie.write.lock.provider=org.apache.hudi.client.transaction.lock.FileSystemBasedLockProvider +hoodie.write.lock.filesystem.path (optional) +hoodie.write.lock.filesystem.expire (optional) +``` + +When using the FileSystem based lock provider, by default, the lock file will store into `hoodie.base.path`+`/.hoodie/lock`, +in additional, you can use a custom folder to store the lock file by specify `hoodie.write.lock.filesystem.path` Review Comment: ```suggestion in addition, you can use a custom folder to store the lock file by specify `hoodie.write.lock.filesystem.path` ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
