nsivabalan commented on code in PR #18089:
URL: https://github.com/apache/hudi/pull/18089#discussion_r2919928033


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/transaction/PreferWriterConflictResolutionStrategy.java:
##########
@@ -54,12 +54,24 @@ public Stream<HoodieInstant> 
getCandidateInstants(HoodieTableMetaClient metaClie
     HoodieActiveTimeline activeTimeline = metaClient.reloadActiveTimeline();
     if (ClusteringUtils.isClusteringInstant(activeTimeline, currentInstant, 
metaClient.getInstantGenerator())
         || COMPACTION_ACTION.equals(currentInstant.getAction())) {
-      return getCandidateInstantsForTableServicesCommits(activeTimeline, 
currentInstant);
+      return 
Stream.concat(getCandidateInstantsForTableServicesCommits(activeTimeline, 
currentInstant),
+          getCandidateInstantsForRollbackConflict(activeTimeline, 
currentInstant));

Review Comment:
   do we need this for table services?
   table service rollbacks are not done by the ingestion threads right. 
   TS rollbacks are done by table service jobs/writers only.
   



-- 
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]

Reply via email to