-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
fix: upgrade IAVL #10648
fix: upgrade IAVL #10648
Conversation
CHANGELOG.md
Outdated
|
||
## [v0.44.4](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.44.4) - 2021-11-25 | ||
|
||
### Improvements | ||
* (x/upgrade) [\#10532](https://github.com/cosmos/cosmos-sdk/pull/10532) Add `keeper.DumpUpgradeInfoWithInfoToDisk` to include `Plan.Info` in the upgrade-info file. | ||
* (store) [\#10544](https://github.com/cosmos/cosmos-sdk/pull/10544) Use the new IAVL iterator structure which significantly improves iterator performance. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
autoformatting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's 2.4k lines autoformatting diff. Maybe we should revert that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we merge this in master and backport?
Because |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because master depends on tendermint 0.35, and we will do 0.18 release for IAVL for that.
So right now the race condition is present on master, right? For me we can:
- merge this in master
- backport
- when 0.18 is ready, create a new PR on master
But won't block, feel free to merge
CHANGELOG.md
Outdated
|
||
## [v0.44.4](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.44.4) - 2021-11-25 | ||
|
||
### Improvements | ||
* (x/upgrade) [\#10532](https://github.com/cosmos/cosmos-sdk/pull/10532) Add `keeper.DumpUpgradeInfoWithInfoToDisk` to include `Plan.Info` in the upgrade-info file. | ||
* (store) [\#10544](https://github.com/cosmos/cosmos-sdk/pull/10544) Use the new IAVL iterator structure which significantly improves iterator performance. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's 2.4k lines autoformatting diff. Maybe we should revert that
because it was not linted correctly, I will revert. |
Yes, in master we have a problem with IAVL, but master is using Tendermint v0.35, and IAVL 0.17.3 is using v0.34 - both technically are the same major release so I don't' think it will work. |
Got it 👍 |
* fix: upgrade IAVL * changelog update * revert markdown formatting
* fix: upgrade IAVL * changelog update * revert markdown formatting
* fix: upgrade IAVL * changelog update * revert markdown formatting
Description
Bump IAVL to solve race condition bug.
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change