Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@halibobo1205
Copy link
Contributor

Avoid downgrading and then upgrading to use the wrong data for cache recovery

For the following cases :

  1. start node with 4.7.3
  2. stop node with kill -15 : dump trans-cache data on header x
  3. start node with 4.7.2
  4. stop node on header y(y>x)
  5. start node with 4.7.3: recover trans-cache data with header x, DupTransactionException will possibly occur.

How to fix

Check header when recovering cached data.

@halibobo1205 halibobo1205 merged commit 703a866 into tronprotocol:release_v4.7.3 Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.