Skip to content

[HUDI-8350] Reuse metadata filesystem view once initialized in metadata writer#12086

Merged
nsivabalan merged 1 commit intoapache:masterfrom
codope:hudi-8350-init-fs-view
Oct 12, 2024
Merged

[HUDI-8350] Reuse metadata filesystem view once initialized in metadata writer#12086
nsivabalan merged 1 commit intoapache:masterfrom
codope:hudi-8350-init-fs-view

Conversation

@codope
Copy link
Member

@codope codope commented Oct 12, 2024

Change Logs

Previously, metadata file system view was being initialized multiple times depending on whether record index and secondary index is enabled. Instead, we can just initialize once and reuse.

Impact

Minor optimization, slightly better memory utilization.

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

@github-actions github-actions bot added the size:S PR with lines of changes in (10, 100] label Oct 12, 2024
@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

@nsivabalan nsivabalan merged commit 3e40352 into apache:master Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S PR with lines of changes in (10, 100]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants