-
Notifications
You must be signed in to change notification settings - Fork 33
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
Uprading from version 0.6.17 to 0.7.0 requires a rescan? #79
Comments
There should be no rescanning, inserting attestations is part of updating the blocks. Best thing to do is to look at two snapshots of |
This is what I see in
Also the DB space is growing a lot, will the space be reclaimed at the end of the upgrade process, or the new DB schema is storing more data? It's already grown by 400 GB! |
After 7 minutes only
|
What does |
It returns null. But I'm not using summaries. This is my chaind.yml.
|
If you aren't summarizing then that all looks up-to-date to me. What exactly do you think is still catching up? |
(I suspect that the finalizer may be taking a while, but once that is finished you should see blocks increase again.) |
Disk space growing, disk I/O at 100%, blocks not increasing. It's been 14 hours now. In the new version are summaries disabled by default or I should add any line in the |
Summaries are not disabled by default but if you don't gather validator balances they should not kick in. But if you want to be sure you can add:
to your chaind configuration file. It's possible that some sort of summarizing is going on, you can check the relevant tables:
If these are all 0 then it means the summarizer is not running. If it is then you should set the configuration above and restart chaind. If not, then my guess is that the finalizer may still be running, if you're seeing lots of attestations being updated for older blocks that would be indicative of this being what is going on. |
Only Finally chaind is fully sync'd again. It took around 17 hours. I don't understand why attestations (finalizer) have been rescanned for old blocks after the upgrade but it's ok. I also see postgresql autovacuum is running now, so I hope the extra space will be reclaimed. The DB grew by over 550GB after the upgrade. |
I recently upgraded chaind from version 0.6.17 to 0.7.0.
I checked the db updates 9,10,11 in the source file
postgresql/upgrader.go
and I see requiresRefetch is not set totrue
. Neverthelessbeaconcommittees
is taking very long to catch up. Is it a bug or a rescan is actually needed?In the PostgreSQL pg_stat_activity I see these queries being executed:
The text was updated successfully, but these errors were encountered: