danny0405 commented on code in PR #8163:
URL: https://github.com/apache/hudi/pull/8163#discussion_r1142906925
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/utils/TransactionUtils.java:
##########
@@ -78,7 +78,7 @@ public static Option<HoodieCommitMetadata>
resolveWriteConflictIfAny(
final ConcurrentOperation thisOperation = new
ConcurrentOperation(currentTxnOwnerInstant.get(), thisCommitMetadata.orElse(new
HoodieCommitMetadata()));
instantStream.forEach(instant -> {
try {
- ConcurrentOperation otherOperation = new
ConcurrentOperation(instant, table.getMetaClient());
+ ConcurrentOperation otherOperation = new
ConcurrentOperation(instant, TimelineUtils.getCommitMetadata(instant,
table.getActiveTimeline()));
if (resolutionStrategy.hasConflict(thisOperation, otherOperation)) {
Review Comment:
Need to figure out why the original commit wrap the commit metadaat using
`HoodieArchivedMetaEntry`, @n3nash can you give some clarification here?
--
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]