hudi icon indicating copy to clipboard operation
hudi copied to clipboard

[HUDI-8135] Limit number of meta clients created in StreamSync

Open the-other-tim-brown opened this issue 1 year ago • 1 comments

Change Logs

  • Return the meta client created when doing a "refreshTimeline" so we can use that instance instead of creating a new one
  • Add ability to initialize the table during StreamSync creation without loading the full timeline

Impact

  • Makes the construction of the StreamSync class more lightweight
  • Minor efficiency gains by avoiding re-reading the hoodie properties when building meta clients

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

None

Documentation Update

Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".

  • The config description must be updated if new configs are added or the default value of the configs are changed
  • Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the ticket number here and follow the instruction to make changes to the website.

Contributor's checklist

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

the-other-tim-brown avatar Aug 28 '24 22:08 the-other-tim-brown

CI report:

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

hudi-bot avatar Oct 24 '24 21:10 hudi-bot