Skip to content

Fix persistent storage startup with blank initialBuckets entries#3071

Closed
VAdaihiep wants to merge 1 commit into
adobe:mainfrom
VAdaihiep:fix/blank-initial-buckets
Closed

Fix persistent storage startup with blank initialBuckets entries#3071
VAdaihiep wants to merge 1 commit into
adobe:mainfrom
VAdaihiep:fix/blank-initial-buckets

Conversation

@VAdaihiep

Copy link
Copy Markdown
Contributor

Description
This PR fixes a startup bug in persistent storage mode where a blank initialBuckets entry could create an invalid root-level persisted bucket metadata file and cause InternalError responses after restart.

Changes:

  • Ignore blank or whitespace-only initialBuckets entries during startup.
  • Add a regression test covering initialBuckets = listOf("").
  • Update CHANGELOG.md with the bug fix.

Related Issue

  • N/A

Tasks

  • I have written tests and verified that they fail without my change.
  • I have run make format to fix code style.
  • I have updated CHANGELOG.md (if applicable).
  • I have updated documentation (if applicable).
  • I have signed the CLA.
    • Nếu bạn đã ký rồi thì tick luôn ô này trước khi mở PR.

Verification

  • Ran:
    .\mvnw.cmd -B -V -pl server -Dtest=StoreConfigurationTest test
  • Result: test suite passed.

@afranken

Copy link
Copy Markdown
Member

thanks for the contribution. I rebased your changes against the current main and created #3085 to merge them.

@afranken afranken closed this Jun 20, 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.

2 participants