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

close database on shutdown #1403

Merged
merged 9 commits into from
Dec 10, 2024
Merged

close database on shutdown #1403

merged 9 commits into from
Dec 10, 2024

Conversation

ceyonur
Copy link
Collaborator

@ceyonur ceyonur commented Dec 5, 2024

Why this should be merged

It correctly handles database close on Shutdown

How this works

  • Rename vm.db to vm.verdb
  • Properly close vm.db on Shutdown
  • Updates avago to a version that defaults to NoSync in pebbledb

How this was tested

Locally + devnet

Need to be documented?

No

Need to update RELEASES.md?

No

@ceyonur ceyonur requested review from darioush and a team as code owners December 5, 2024 14:45
darioush
darioush previously approved these changes Dec 5, 2024
Copy link
Collaborator

@darioush darioush left a comment

Choose a reason for hiding this comment

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

Not: would slightly prefer the name vm.versiondb

Also IMO we should add a line in release notes

Base automatically changed from bump-avago-1.12.0 to master December 5, 2024 16:50
@ceyonur ceyonur dismissed darioush’s stale review December 5, 2024 16:50

The base branch was changed.

@ceyonur ceyonur enabled auto-merge (squash) December 10, 2024 16:49
@ceyonur ceyonur requested a review from darioush December 10, 2024 16:52
plugin/evm/syncervm_test.go Outdated Show resolved Hide resolved
plugin/evm/database/database.go Outdated Show resolved Hide resolved
@ceyonur ceyonur merged commit 843e3f7 into master Dec 10, 2024
14 checks passed
@ceyonur ceyonur deleted the close-db branch December 10, 2024 17:21
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