Skip to content
New issue

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

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

Already on GitHub? # 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
darioush added a commit that referenced this pull request Jan 13, 2025
Co-authored-by: Arran Schlosberg <519948+ARR4N@users.noreply.github.com>
Co-authored-by: Darioush Jalali <darioush.jalali@avalabs.org>
Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com>
Co-authored-by: Ceyhun Onur <ceyhun.onur@avalabs.org>
Co-authored-by: Richard Pringle <richard.pringle@avalabs.org>
Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
Co-authored-by: Meaghan FitzGerald <meag.fitz@avalabs.org>
Co-authored-by: Quentin McGaw <quentin.mcgaw@avalabs.org>
Co-authored-by: mountcount <166301065+mountcount@users.noreply.github.com>
Co-authored-by: chuangjinglu <chuangjinglu@outlook.com>
Co-authored-by: guqicun <guqicun@outlook.com>
Co-authored-by: Dmytrol <46675332+Dimitrolito@users.noreply.github.com>
fix problematic const name and some typos in comment (#1400)
fix some function names in interface comment (#1397)
close database on shutdown (#1403)
fix some function names in comment (#1405)
Fix Typos in Documentation (#1404)
fix test generator (#724)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants