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

clean_dead_slots_from_accounts_index unrefs correctly (backport #27461) (backport #27467) #27650

Closed
wants to merge 2 commits into from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 7, 2022

This is an automatic backport of pull request #27467 done by Mergify.
Cherry-pick of 7650bd2 has failed:

On branch mergify/bp/v1.10/pr-27467
Your branch is up to date with 'origin/v1.10'.

You are currently cherry-picking commit 7650bd2ad.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   runtime/src/accounts_db.rs

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

… (#27467)

clean_dead_slots_from_accounts_index unrefs correctly (#27461)

(cherry picked from commit a4b8ab2)

Co-authored-by: Jeff Washington (jwash) <[email protected]>
(cherry picked from commit 7650bd2)

# Conflicts:
#	runtime/src/accounts_db.rs
@mergify mergify bot added conflicts automerge Merge this Pull Request automatically once CI passes labels Sep 7, 2022
@jeffwashington jeffwashington added the no-automerge Prevent the automerge label from being applied label Sep 7, 2022
@jeffwashington
Copy link
Contributor

preparing backport to 1.10 just in case.

@solana-grimes
Copy link
Contributor

😱 New commits were pushed while the automerge label was present.

@solana-grimes solana-grimes removed the automerge Merge this Pull Request automatically once CI passes label Sep 7, 2022
@steviez
Copy link
Contributor

steviez commented Sep 20, 2022

preparing backport to 1.10 just in case.

@jeffwashington @brooksprumo @apfitzge - Out of curiosity, will/should this be going into v1.10 (and I guess v1.13 now too)? I saw Brooks make a rec to someone to pull this commit in manually and it looks like the v1.11 backport landed a while back

@jeffwashington
Copy link
Contributor

jeffwashington commented Sep 20, 2022

will/should this be going into v1.10 (and I guess v1.13 now too)?

The current answer is "wait". There was another long standing under refcount bug as well that was recently fixed in master. To be careful with potential instability, it is safer to not fix this type of refcounting bug when it has been in a long time and the effects are unpleasant, but known and not fatal.

@michaelh-laine
Copy link
Contributor

effects are unpleasant, but known and not fatal.

this bug is causing validators to unexpectedly segfault/crash and then crash loop due to systuner using insufficient vm.max_map_count, experienced again just today by Cogent Crypto.

In the absence of a fix nodes either crash every 2-4 weeks or need to be regularly restarted to avoid that. Since there is no EOL for 1.13 known yet perhaps a backport can now be reconsidered as a month has passed since the last comment on this PR?

@t-nelson
Copy link
Contributor

@jeffwashington are we comfortable with backporting this change to 1.13?

@jeffwashington
Copy link
Contributor

jeffwashington commented Oct 25, 2022

this one is being tested now off 1.13:
#28582
These validators are running it. I'll hopefully add some more validators as they free up.
8XWpJyTb3dFgEa1nVkTKoTY3ivg1CXN5Wr6149dXTpVP
FwQpCUn3bmB27bfhmt9Cepeyn6UPBAXCYWCwkYj5qUd9
3Ex1LtnZa5vwyZgAWC7WXy2aXcn1V1P2bpvK9Z4ZWrHj

@jeffwashington
Copy link
Contributor

went in to 1.13 as #28582

@mergify mergify bot deleted the mergify/bp/v1.10/pr-27467 branch October 28, 2022 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conflicts no-automerge Prevent the automerge label from being applied
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants