-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Request based availability distribution #2423
Conversation
Work on the requesting side of things.
as I will likely replace it with something smarter.
and getting things to type check.
- Compile fixes. - Cleanup.
Missing: - Check for cancel - Actual querying of peer ids.
- also make it impossible to check the wrong chunk index. - Export needed function in validator_discovery.
Also make sure to not fetch our own chunk.
- FetchTask::is_finished - SessionCache::fetch_session_info
adder-collator is running!
|
I filed follow-up issues for the two points I raised: |
uh perfect, then tests now :-) |
| assert_matches!( | ||
| virtual_overseer.recv().await, | ||
| AllMessages::AvailabilityRecovery( | ||
| AvailabilityRecoveryMessage::NetworkBridgeUpdateV1(e) |
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.
This can't be triggered by a malicious node, can it?
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.
(oh, this is test code 👍 )
@eskimor Is there an issue open for adding back the jaeger spans that we can track? |
|
Good catch - no, it is just on my list. Will make an issue: #2551 |
PR went large, because I took the occasion to make
ValidatorIndexa newtype wrapper, which is quite invasive in test code.What it does in a nutshell:
Status: Tested manually and seems to work fine (adder-collator).
Still missing in this PR: