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

Upgrade mdbx version #13655

Open
AskAlexSharov opened this issue Feb 1, 2025 · 1 comment
Open

Upgrade mdbx version #13655

AskAlexSharov opened this issue Feb 1, 2025 · 1 comment
Assignees

Comments

@AskAlexSharov
Copy link
Collaborator

AskAlexSharov commented Feb 1, 2025

  • go to mdbx-go and create PR about latest master version of mdbx.
  • release new mdbx-go version
  • create PR in erigon repo

run node with next params (our sepolia-n2 snapshotter already running with this params. can test there also):

 nohup ./build/bin/erigon  --prune.mode=archive  --db.writemap=false --http=false --datadir=<your> --caplin.blocks-archive --caplin.blobs-archive  --caplin.states-archive --caplin.snapgen   --chain=sepolia --http.api=eth,erigon,ots,web3,net,debug,trace,txpool --caplin.subscribe-all-topics --prune.mode=archive
  • look at monitoring: is there any db-related anomalies (FreeList or PageOps)

Additional:

  • there was several releases of MDBX (we didn't upgrade). need read changelog and find what changed related to "allow rw transactions move between threads". In current version: mdbx does "return error if rwtx object moved between threads" (i like this stricknes, but seems it's more relaxed now. need to collect info - what else relaxed and in which env-flags).
  • create some github issues - if we need add new-methods bindings. or new flags support. For example: there are many new flags of Cursor moves.
@JkLondon
Copy link
Member

added several issues https://github.com/erigontech/mdbx-go/issues
pr about mdbx erigontech/mdbx-go#162 (merged)

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

No branches or pull requests

3 participants