Skip to content

Consolidate PolarisStorageConfigurationInfo retrieval#5030

Merged
dimas-b merged 1 commit into
apache:mainfrom
XN137:consolidate-storage-config-helpers
Jul 14, 2026
Merged

Consolidate PolarisStorageConfigurationInfo retrieval#5030
dimas-b merged 1 commit into
apache:mainfrom
XN137:consolidate-storage-config-helpers

Conversation

@XN137

@XN137 XN137 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Removes FileIOUtil and BaseMetaStoreManager.extractStorageConfiguration, moving their logic into PolarisStorageConfigurationInfo where it naturally belongs. Renames findStorageInfoFromHierarchy to findEntityWithStorageConfigFromHierarchy for clarity, and adds findStorageConfigFromHierarchy to return the deserialized config directly.

Removes `FileIOUtil` and `BaseMetaStoreManager.extractStorageConfiguration`,
moving their logic into `PolarisStorageConfigurationInfo` where it naturally
belongs. Renames `findStorageInfoFromHierarchy` to
`findEntityWithStorageConfigFromHierarchy` for clarity, and adds
`findStorageConfigFromHierarchy` to return the deserialized config directly.
@XN137
XN137 force-pushed the consolidate-storage-config-helpers branch from 323c89b to a19bfcd Compare July 10, 2026 15:16
@XN137
XN137 marked this pull request as ready for review July 10, 2026 15:48

@dimas-b dimas-b left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks like a reasonable refactoring to me 👍

Welcome back, @XN137 ! 😉

@github-project-automation github-project-automation Bot moved this from PRs In Progress to Ready to merge in Basic Kanban Board Jul 10, 2026

@flyrain flyrain left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. cc @dennishuo

@flyrain
flyrain requested a review from dennishuo July 13, 2026 18:22
@dimas-b

dimas-b commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Merging after > 3 days in review and multiple approvals. If there are follow-up concerns let's address them in separate PRs.

@dimas-b
dimas-b merged commit cb3a9fb into apache:main Jul 14, 2026
25 checks passed
@github-project-automation github-project-automation Bot moved this from Ready to merge to Done in Basic Kanban Board Jul 14, 2026
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.

4 participants