Skip to content

Adds hidden --accounts-db-account-storage-file-format cli arg - #15745

Merged
brooksprumo merged 1 commit into
anza-xyz:masterfrom
brooksprumo:split-file/cli
Oct 5, 2026
Merged

brooksprumo merged 1 commit into
anza-xyz:masterfrom
brooksprumo:split-file/cli

Conversation

@brooksprumo

@brooksprumo brooksprumo commented Oct 2, 2026 •

Copy link
Copy Markdown

Problem

SplitFile support has been added, but a validator cannot use it without code changes.

Summary of Changes

Add a hidden cli arg, --accounts-db-account-storage-file-format, so that split file can be used.

Split file is opt-in, and off by default.

Testing

Nothing additional.

@brooksprumo brooksprumo self-assigned this Oct 2, 2026
@codecov-commenter

codecov-commenter commented Oct 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 24.24242% with 25 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.7%. Comparing base (1aacad2) to head (e07abb5).

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #15745     +/-   ##
=========================================
- Coverage    82.7%    82.7%   -0.1%     
=========================================
  Files         935      935             
  Lines      374165   374196     +31     
=========================================
+ Hits       309460   309481     +21     
- Misses      64705    64715     +10     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@brooksprumo
brooksprumo marked this pull request as ready for review October 3, 2026 00:04
Arg::with_name("accounts_db_account_storage_file_format")
.long("accounts-db-account-storage-file-format")
.takes_value(true)
.possible_values(&["append-vec", "split-experimental"])

@brooksprumo brooksprumo Oct 3, 2026 •

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I put "experimental" in the name here to further indicate we change format/behavior.

And then we can remove "experimental" to indicate we think it is stable, all without unhiding the cli arg.

@brooksprumo
brooksprumo requested a review from roryharr October 3, 2026 00:06
@brooksprumo
brooksprumo added this pull request to the merge queue Oct 5, 2026
Merged via the queue into anza-xyz:master with commit 2d3c5b7 Oct 5, 2026
47 checks passed
@brooksprumo
brooksprumo deleted the split-file/cli branch October 5, 2026 16:33
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