-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Votes for amendments not persisting #4220
Comments
This happened to me last night after I restarted my server. All 4 current votes to 'accept' amendments, that had previously been cast, failed to persist and returned to the default of 'reject' on restart. The votes have had to be cast again. |
I had the same thing. I moved bare metal and moved wallet.db along. All votes had to be put in again. I tried to reproduce by simply restarting the validator and indeed: votes gone again. It seems not to persist the votes. |
I had an old timestamp on /var/lib/rippled/db/wallet.db.. I reversed a vote with then re-enabled it again with So from my observation, timestamp (and contents?) seem to update wallet.db atleast. Possible there's an issue with reading |
* Ensures that if old data exists, it is replaced. * Fixes: XRPLF#4220
Issue Description
Multiple validators have noted that the votes using
rippled feature AMENDMENTID accept/reject
do not persist after restart ofrippled
Steps to Reproduce
Restart
rippled
and check output ofrippled feature
. It may not match current votes that operator has registered.Expected Result
Aside from the first run where
rippled
migrates from therippled.cfg
file intowallet.db
, additionalaccept/reject
should be stored inwallet.db
Actual Result
Votes do not persist in
wallet.db
after restartAdditional information
This issue has been discussed with @nbougalis and warrants further examination to confirm/deny. If this bug does indeed exist, a fix needs to be merged into the next release, else votes for amendments not yet activated will change either for/against depending on the default.
The text was updated successfully, but these errors were encountered: