statement-store: first v2 DHT e2e test and opt-in CLI flags#12439
Open
DenzelPenzel wants to merge 4 commits into
Open
statement-store: first v2 DHT e2e test and opt-in CLI flags#12439DenzelPenzel wants to merge 4 commits into
DenzelPenzel wants to merge 4 commits into
Conversation
68d02e9 to
fdcfbd8
Compare
…olkadot-sdk into denzelpenzel/v2-dht-e2e-subscribe-submit
Contributor
Author
|
/cmd fmt |
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implementation (#12428)
What
Lands the first end-to-end test for the v2 DHT-affinity statement routing path,
plus the minimal wiring required to exercise it from zombienet.
Changes
v2dht_enabled()was a hard-codedconst fn.It is now a per-node runtime flag (
StatementHandler::v2dht_enabled), threadedfrom a new CLI option
--enable-statement-store-v2-dht(default off).--statement-replication-factor <K>--statement-gossip-target <N>v2_dht_k1_subscribe_submit_resubscribeon a 2-node network with
K=1it assertscount_storers == 1, selectivity),delivered again (resubscribe stability).
common.rs:collator_args_v2,stores_locally,count_storers.