-
Notifications
You must be signed in to change notification settings - Fork 198
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
Snapshot after sync fix #3706
Snapshot after sync fix #3706
Conversation
Codecov Report
@@ Coverage Diff @@
## development #3706 +/- ##
===============================================
- Coverage 73.79% 73.78% -0.02%
===============================================
Files 589 589
Lines 76199 76213 +14
===============================================
+ Hits 56229 56231 +2
- Misses 15521 15534 +13
+ Partials 4449 4448 -1
Continue to review full report at Codecov.
|
@@ -741,18 +741,42 @@ func (tsm *trieStorageManager) ShouldTakeSnapshot() bool { | |||
return false | |||
} | |||
|
|||
if isTrieSynced(stsm) { |
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.
👍
220d4a2
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.
System test passed.
skip snapshot if trie was synced