Skip to content

Conversation

@317787106
Copy link
Contributor

@317787106 317787106 commented Mar 1, 2023

What does this PR do?
Fix the bug of data loss in mongo when mongo event plugin is enabled.

Why are these changes required?
Sometimes, LATEST_SOLIDIFIED_BLOCK_NUM in LevelDB doesn't grow by just one, it might grow larger than one, but we only write the last block into mongo, therefore some blocks are not written into mongo.

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@317787106 317787106 changed the title hotfix(db): Hotfix/mongo miss hotfix(db): fix the bug of data loss in mongo Mar 1, 2023
Bobom00 referenced this pull request Mar 1, 2023
feat(db): add timeout sending of zmq
@317787106 317787106 changed the base branch from develop to release_v4.7.2 March 23, 2023 09:13
@317787106 317787106 marked this pull request as ready for review March 23, 2023 09:20
@317787106 317787106 merged commit c1fe7ad into tronprotocol:release_v4.7.2 Mar 24, 2023
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.

3 participants