Skip to content

[HUDI-6739] Skip checking Active Timeline to improve performance for multiple streaming writers#9510

Closed
ad1happy2go wants to merge 1 commit intoapache:masterfrom
ad1happy2go:HUDI-6739
Closed

[HUDI-6739] Skip checking Active Timeline to improve performance for multiple streaming writers#9510
ad1happy2go wants to merge 1 commit intoapache:masterfrom
ad1happy2go:HUDI-6739

Conversation

@ad1happy2go
Copy link
Collaborator

Change Logs

Improved the logic for Fixing checkpoint management for multiple streaming writers, so that it dont check the active timeline if offset is 0 as that will mean it is a new writer.

Impact

none

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

low

Documentation Update

none

Contributor's checklist

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

@ad1happy2go ad1happy2go changed the title [HUDI-6739] Skip checking Active Timeline to improve performance [HUDI-6739] Skip checking Active Timeline to improve performance for multiple streaming writers Aug 23, 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

Comment on lines +321 to +322
if(incomingBatchId == 0) {
false
Copy link
Contributor

Choose a reason for hiding this comment

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

The batch 0 may have already been processed so the last checkpoint still needs to be read. Correct?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, I agree @yihua . Thanks. Closing this PR then without committing. @nsivabalan Let me know if any concerns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants