Repository navigation
Ignore duplicate future state roots - #1045
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master-n3 #1045 +/- ##
=============================================
+ Coverage 48.39% 48.66% +0.26%
=============================================
Files 274 274
Lines 15796 15799 +3
Branches 2015 2016 +1
=============================================
+ Hits 7645 7688 +43
+ Misses 7677 7633 -44
- Partials 474 478 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
What is the purpose of this modification? |
|
The purpose is to make future state root handling idempotent. A future root can be received more than once while it is still waiting in the pending cache, for example through repeated network delivery or a retry path before the local root index catches up. Using |
shargon
left a comment
There was a problem hiding this comment.
The return of this method is always discarded, isn't it? It should be better if the ut use Akka instead of reflection, but as I see the bool result is not checked, maybe should log it when false?
Summary
Tests