danny0405 commented on code in PR #8111:
URL: https://github.com/apache/hudi/pull/8111#discussion_r1169448529
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieWriteConfig.java:
##########
@@ -2971,13 +2977,10 @@ private void
autoAdjustConfigsForConcurrencyMode(boolean isLockProviderPropertyS
// This is targeted at Single writer with async table services
// If user does not set the lock provider, likely that the
concurrency mode is not set either
// Override the configs for metadata table
- writeConfig.setValue(WRITE_CONCURRENCY_MODE.key(),
- WriteConcurrencyMode.OPTIMISTIC_CONCURRENCY_CONTROL.value());
writeConfig.setValue(HoodieLockConfig.LOCK_PROVIDER_CLASS_NAME.key(),
InProcessLockProvider.class.getName());
- LOG.info(String.format("Automatically set %s=%s and %s=%s since
user has not set the "
+ LOG.info(String.format("Automatically set %s=%s since user has not
set the "
Review Comment:
We still add lock provider for MDT, but it's not OCC because it is single
writer.
--
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]