You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/09/24 16:18:46 UTC
[GitHub] [hudi] nsivabalan commented on a change in pull request #3698: [HUDI-2474] Refreshing timeline for every operation in Hudi
nsivabalan commented on a change in pull request #3698:
URL: https://github.com/apache/hudi/pull/3698#discussion_r715744876
##########
File path: hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/client/SparkRDDWriteClient.java
##########
@@ -318,6 +323,7 @@ protected void completeCompaction(HoodieCommitMetadata metadata, JavaRDD<WriteSt
@Override
protected JavaRDD<WriteStatus> compact(String compactionInstantTime, boolean shouldComplete) {
HoodieSparkTable<T> table = HoodieSparkTable.create(config, context);
+ table.getHoodieView().sync();
preWrite(compactionInstantTime, WriteOperationType.COMPACT, table.getMetaClient());
Review comment:
@danny0405 : I am in need of this for [metadata sync patch](https://github.com/apache/hudi/pull/3590). If you don't mind, I will land this patch now. But we can discuss and get to a consensus. If need be, I can put up a follow patch to make it conditional.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org