danny0405 commented on code in PR #9933:
URL: https://github.com/apache/hudi/pull/9933#discussion_r1375154698
##########
hudi-common/src/main/java/org/apache/hudi/common/model/WriteConcurrencyMode.java:
##########
@@ -35,9 +35,15 @@ public enum WriteConcurrencyMode {
@EnumFieldDescription("Multiple writers can operate on the table with lazy
conflict resolution "
+ "using locks. This means that only one writer succeeds if multiple
writers write to the "
+ "same file group.")
- OPTIMISTIC_CONCURRENCY_CONTROL;
+ OPTIMISTIC_CONCURRENCY_CONTROL,
- public boolean supportsOptimisticConcurrencyControl() {
- return this == OPTIMISTIC_CONCURRENCY_CONTROL;
+ // Multiple writer can perform write ops on a MOR table with simple bucket
index, and defer conflict
+ // resolution to compaction phase
+ @EnumFieldDescription("Multiple writer can perform write ops on a MOR table
with simple bucket index, "
Review Comment:
"Multiple writers can operate on the table with non-blocking conflict
resolution. The writers can write into the same file group with the conflicts
resolved automically by the query reader and the compactor."
--
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]