Skip to content

Conversation

@nsivabalan
Copy link
Contributor

@nsivabalan nsivabalan commented Jan 21, 2023

Change Logs

When we have some failed commits in the timeline before first successful commit, FS based listing could return data from the failed commit.

For eg, if timeline is:
c1.inflight, c2.complete,c3.complete
when we query hudi, data files from c1 is also returned. Fixing it as part of this patch.

Impact

FS based listing will not return data from failed commit.

Risk level (write none, low medium or high below)

low

Documentation Update

Describe any necessary documentation update if there is any new feature, config, or user-facing change

N/A

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@nsivabalan nsivabalan added the priority:blocker Production down; release blocker label Jan 21, 2023
@hudi-bot
Copy link
Collaborator

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

private final HoodieTimeline completedTimeline;

/**
* Timeline, based on which all getter work.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is copy pasted from above?


public HoodieFileGroup(String partitionPath, String id, HoodieTimeline timeline) {
this(new HoodieFileGroupId(partitionPath, id), timeline);
public HoodieFileGroup(String partitionPath, String id, HoodieTimeline completedTimeline, HoodieTimeline writeTimeline) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm. not sure I am a fan of this. but need to understand fully.

@jonvex
Copy link
Contributor

jonvex commented Jan 23, 2023

#7738 I made a new pr because I don't have the permissions to edit this

@nsivabalan
Copy link
Contributor Author

Closing this in favor of #7738

@nsivabalan nsivabalan closed this Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:blocker Production down; release blocker

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants