Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validator: deprecates --disable-accounts-disk-index #33850

Merged
merged 3 commits into from
Nov 14, 2023

Conversation

t-nelson
Copy link
Contributor

Problem

accounts disk index is the future, but we still offer a flag to disable it. every operator silently reverting to old behavior is going to be a problem when we need to drop support.

Summary of Changes

reduce the burden today. deprecate the flag

@t-nelson t-nelson added v1.16 PRs that should be backported to v1.16 v1.17 PRs that should be backported to v1.17 labels Oct 24, 2023
jeffwashington
jeffwashington previously approved these changes Oct 24, 2023
Copy link
Contributor

@jeffwashington jeffwashington left a comment

Choose a reason for hiding this comment

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

lgtm!

@codecov
Copy link

codecov bot commented Oct 30, 2023

Codecov Report

Merging #33850 (61f732a) into master (612e8e8) will decrease coverage by 0.1%.
Report is 31 commits behind head on master.
The diff coverage is 100.0%.

@@            Coverage Diff            @@
##           master   #33850     +/-   ##
=========================================
- Coverage    81.9%    81.8%   -0.1%     
=========================================
  Files         809      809             
  Lines      217712   217711      -1     
=========================================
- Hits       178310   178297     -13     
- Misses      39402    39414     +12     

Copy link
Contributor

@brooksprumo brooksprumo left a comment

Choose a reason for hiding this comment

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

Lgtm.

W.r.t. backporting, I'm on board with v1.17. I'm not sure about v1.16 since it's already live on mnb. Wdyt? Is this mainly for support burden, to tell operators "hey, don't do this"?

@t-nelson
Copy link
Contributor Author

Lgtm.

W.r.t. backporting, I'm on board with v1.17. I'm not sure about v1.16 since it's already live on mnb. Wdyt? Is this mainly for support burden, to tell operators "hey, don't do this"?

i think 1.16 will be ok. we only deprecate here, so worst that happens is the operators who actually look at their logs will see a warning message on startup

@t-nelson t-nelson merged commit c55a6e5 into solana-labs:master Nov 14, 2023
32 checks passed
mergify bot pushed a commit that referenced this pull request Nov 14, 2023
* validator: deprecates `--disable-accounts-disk-index`

* Fix checks failure

* Move disable_accounts_disk_index arg to alphabetical order

---------

Co-authored-by: Will Hickey <will.hickey@solana.com>
(cherry picked from commit c55a6e5)

# Conflicts:
#	validator/src/cli.rs
mergify bot pushed a commit that referenced this pull request Nov 14, 2023
* validator: deprecates `--disable-accounts-disk-index`

* Fix checks failure

* Move disable_accounts_disk_index arg to alphabetical order

---------

Co-authored-by: Will Hickey <will.hickey@solana.com>
(cherry picked from commit c55a6e5)
@t-nelson t-nelson deleted the hdadi branch November 14, 2023 22:59
t-nelson added a commit that referenced this pull request Nov 15, 2023
* validator: deprecates `--disable-accounts-disk-index`

* Fix checks failure

* Move disable_accounts_disk_index arg to alphabetical order

---------

Co-authored-by: Will Hickey <will.hickey@solana.com>
(cherry picked from commit c55a6e5)

# Conflicts:
#	validator/src/cli.rs
t-nelson added a commit that referenced this pull request Nov 15, 2023
…t of #33850) (#34070)

validator: deprecates `--disable-accounts-disk-index` (#33850)

* validator: deprecates `--disable-accounts-disk-index`

* Fix checks failure

* Move disable_accounts_disk_index arg to alphabetical order

---------

Co-authored-by: Will Hickey <will.hickey@solana.com>
(cherry picked from commit c55a6e5)

Co-authored-by: Trent Nelson <trent@solana.com>
t-nelson added a commit that referenced this pull request Nov 16, 2023
…t of #33850) (#34069)

validator: deprecates `--disable-accounts-disk-index` (#33850)

* validator: deprecates `--disable-accounts-disk-index`

* Fix checks failure

* Move disable_accounts_disk_index arg to alphabetical order

---------

Co-authored-by: Will Hickey <will.hickey@solana.com>
(cherry picked from commit c55a6e5)

# Conflicts:
#	validator/src/cli.rs

Co-authored-by: Trent Nelson <trent@solana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1.16 PRs that should be backported to v1.16 v1.17 PRs that should be backported to v1.17
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants