-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Archive node sync issue #6356
Comments
this looks either a bug with long-lived transaction detection, or a database query that took that long to execute |
This issue is stale because it has been open for 21 days with no activity. |
@mrabino1 could you please tell us what hardware you were using for syncing this node? |
NUC 10.. with an i7 .. nvme 4tb.. and 32gb of ram.. |
maybe related @shekhirin ? #6850 |
likely not, because this warning isn't coming from the |
thinking if mdbx re-assigning a ptr could have lead to this... @shekhirin |
we issue these warning logs independently from the pointer tracking, and they're based purely on our Rust structs for transactions |
yes but considering that the same txn id so both txn_1 and txn_2 use same txn pointer. furthermore I read the code for checking reth/crates/storage/db/src/implementation/mdbx/tx.rs Lines 290 to 295 in c5955f1
reth/crates/storage/libmdbx-rs/src/transaction.rs Lines 561 to 570 in c5955f1
however now this is done now in your pr reth/crates/storage/libmdbx-rs/src/transaction.rs Lines 542 to 560 in 130f8b7
|
this is not true.
I don't think so:
I'm also re-opening this, because we see that these read-only transactions open for more than a minute are coming from the networking part, and the PR #6850 most likely isn't going to change anything there. |
alright, I followed the code down to here, looks like it's assigned by mdbx not by db reth/crates/storage/libmdbx-rs/src/transaction.rs Lines 128 to 131 in 2df0d91
fair enough
but this doesn't need to be a chain of just 2 transactions being reassigned the same pointer, this could be a much longer chain.
|
This issue is stale because it has been open for 21 days with no activity. |
This issue was closed because it has been inactive for 7 days since being marked as stale. |
Describe the bug
[](https://www.dropbox.com/s/zbc0n4wk9d6xhhz/2024-02-01_17-27-34.png?dl=0)
this was seen during an initial archive node sync.
running alpha.16 on ubuntu
Steps to reproduce
ubuntu
start reth initial sync for an archive node
Node logs
Platform(s)
Linux (x86)
What version/commit are you on?
alpha.16
What database version are you on?
alpha.16
What type of node are you running?
Archive (default)
What prune config do you use, if any?
No response
If you've built Reth from source, provide the full command you used
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: