Deliver votes that arrive while their election is starting (#5184) * Deliver votes that arrive while their election is starting A vote for a hash without an election is cached so that an election starting later can read it. An election that started between the route lookup and the cache insert could read the cache first, which left the vote unused for as long as that election lived. The router now looks the unmatched hashes up once more after caching them. This made `active_elections.fork_replacement_tally` fail intermittently, as it sends each final vote only once. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * Observe representatives before retrying vote routing --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
__________
Type: commit
Hash: 1531d49962bc2432240adec2f0a8a2655cc91ca4
Created: today
__________
gr0v1ty/nano-node:1531d49962bc2432240adec2f0a8a2655cc91ca4
| Test Case | Status | Duration | Median Deviation | Log | Graph |
|---|---|---|---|---|---|
| 5n4pr_conf_10k_bintree | PASS | 116 s | 3.5 s | - | Show |
| 5n4pr_conf_10k_change | PASS | 153 s | 6.5 s | - | Show |
| 5n4pr_conf_change_dependant | PASS | 122 s | 6.0 s | - | - |
| 5n4pr_conf_change_independant | PASS | 110 s | -4.0 s | - | - |
| 5n4pr_conf_send_dependant | PASS | 113 s | 0.0 s | - | - |
| 5n4pr_conf_send_independant | PASS | 113 s | -1.5 s | - | - |
| 5n4pr_rocks_10k_bintree | PASS | 121 s | 5.5 s | - | - |
| 5n4pr_rocks_10k_change | PASS | 179 s | 19.0 s | - | - |