Skip to content
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

chore: cleanup unnecessary ndb.Commit calls (backport #902) #921

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Mar 22, 2024

Context

There are some unnecessary ndb.Commit and resetBatch calls which introduced to avoid the large batch commit originally. They are not necessary since we are using BatchWithFlusher now.


This is an automatic backport of pull request #902 done by Mergify.

Co-authored-by: Adam Tucker <[email protected]>
(cherry picked from commit 5a9cc69)
@mergify mergify bot requested a review from a team as a code owner March 22, 2024 19:46
@czarcas7ic
Copy link
Contributor

I can give this a try against Osmosis mainnet once you confirm the test failure is non issue! (of course feel free to merge without me testing against Osmosis, just wanted to offer the reassurance of a test)

@cool-develope
Copy link
Collaborator

I can give this a try against Osmosis mainnet once you confirm the test failure is non issue! (of course feel free to merge without me testing against Osmosis, just wanted to offer the reassurance of a test)

appreciate if you test against the live chain. The test is flaky due to the legacy node pruning

@czarcas7ic
Copy link
Contributor

Setting up now!

@czarcas7ic
Copy link
Contributor

@cool-develope tested against mainnet for 1k blocks and so far so good!

@czarcas7ic
Copy link
Contributor

Okay have run quite a few blocks, should be good to go

@cool-develope cool-develope merged commit ff86011 into release/v1.1.x Mar 25, 2024
5 checks passed
@cool-develope cool-develope deleted the mergify/bp/release/v1.1.x/pr-902 branch March 25, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants