[
https://issues.apache.org/jira/browse/HUDI-2258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392667#comment-17392667
]
ASF GitHub Bot commented on HUDI-2258:
--------------------------------------
danny0405 commented on a change in pull request #3381:
URL: https://github.com/apache/hudi/pull/3381#discussion_r682248124
##########
File path:
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadataWriter.java
##########
@@ -248,7 +248,8 @@ protected void bootstrapIfNeeded(HoodieEngineContext
engineContext, HoodieTableM
if (!latestMetadataInstant.isPresent()) {
LOG.warn("Metadata Table will need to be re-bootstrapped as no
instants were found");
rebootstrap = true;
- } else if
(datasetMetaClient.getActiveTimeline().isBeforeTimelineStarts(latestMetadataInstant.get().getTimestamp()))
{
+ } else if
(!latestMetadataInstant.get().getTimestamp().equals(SOLO_COMMIT_TIMESTAMP)
+ &&
datasetMetaClient.getActiveTimeline().isBeforeTimelineStarts(latestMetadataInstant.get().getTimestamp()))
{
Review comment:
Modify to avoid re-bootstrap for empty table.
--
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]
> Metadata table for flink
> ------------------------
>
> Key: HUDI-2258
> URL: https://issues.apache.org/jira/browse/HUDI-2258
> Project: Apache Hudi
> Issue Type: New Feature
> Components: Flink Integration
> Reporter: Danny Chen
> Assignee: Danny Chen
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.9.0
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)