feat: Uses BatchWithFlusher in iavl tree#807
Conversation
cool-develope
left a comment
There was a problem hiding this comment.
overall looks good to me, except why hard code the flushThreshold?
|
That's because I discussed with marko and we decide to hard code the value to be the best option based on benchmark result run on osmosis node |
|
+1 on @cool-develope comment. Given that |
|
@julienrbrt you fine with merging this and then i can make the changes. |
Works! We need changelogs as well to reflect some API breaks from here in the follow-up |
|
@Mergifyio backport release/1.x.x |
❌ No backport have been createdDetails
GitHub error: |
|
@Mergifyio backport release/v1.x.x |
|
@Mergifyio backport release/v1.x.x |
✅ Backports have been createdDetails
|
(cherry picked from commit b42a0bc)
This PR replace the use of normal dbm.Batch with BatchWithFlusher in iavl tree
It also hard code the value of flushthreshold to 100KB