-
Notifications
You must be signed in to change notification settings - Fork 128
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
stakedb: upgrade ticket pool badger DB from v1.6.2 to v3.2103.2 #1948
base: master
Are you sure you want to change the base?
Conversation
cd2c712
to
ea46574
Compare
ea46574
to
bbae785
Compare
- This make some major improvement to the ticket pool upgrade path and moves upgrade related code to a stakeDB/upgrade.go file.
08ff081
to
6d0c54f
Compare
6d0c54f
to
36cd18c
Compare
36cd18c
to
9c7ebef
Compare
While badger is running fine, I've been getting these logs. Do you think we need to increase the block cache beyond the default?
|
To determine that, we'll have to deploy to see a real use case, otherwise it's just append-only with no gets. Try testing the "full" ticket pool API endpoint, traversing to pool snapshots at distant heights. Compare performance with badger v1 and with different cache settings for v3. |
Don't know how long for badger v1 cuz I've upgraded already. @chappjc, can you check how long for v1? |
To specify a snapshot at a given block, use the
endpoint: /stake/pool/b/{idxorhash}/full
…On Thu, Dec 22, 2022, 1:09 AM Philemon Ukane ***@***.***> wrote:
2022/12/22 06:55:30 "GET http://134.209.25.156:7777/api/stake/pool/full HTTP/1.1" from 105.113.40.37:29560 - 200 2731123B in 824.332317ms
2022/12/22 06:55:47 "GET http://134.209.25.156:7777/api/stake/pool/full HTTP/1.1" from 105.113.40.37:30039 - 200 2731123B in 708.798579ms
2022/12/22 06:56:01 "GET http://134.209.25.156:7777/api/stake/pool/full HTTP/1.1" from 105.113.40.37:30430 - 200 2731123B in 797.757222ms
Don't know how long for badger v1 cuz I've upgraded already. @chappjc
<https://github.com/chappjc>, can you check how long for v1?
—
Reply to this email directly, view it on GitHub
<#1948 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACHQOSKHYUG6GDNNTG7ZHWDWOP5CDANCNFSM6AAAAAAS6RT66U>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This comment was marked as resolved.
This comment was marked as resolved.
1b474c0
to
7fd8e63
Compare
This upgrades the badger DB used by the ticket pool from v1.6.2 to v3.2103.2. Closes #1750.
Successful upgrade log
EDIT:
Successful upgrade log