Skip to content

Add customizable node selection for gossip and push/pull - #387

Open
SquishyMochi514 wants to merge 1 commit into
hashicorp:masterfrom
SquishyMochi514:feat/node-selection-delegate
Open

SquishyMochi514 wants to merge 1 commit into
hashicorp:masterfrom
SquishyMochi514:feat/node-selection-delegate

Conversation

@SquishyMochi514

Copy link
Copy Markdown

Description

Add a NodeSelectionDelegate to filter and prioritize gossip and push/pull node candidates. Add PushPullNodes to configure the number of nodes contacted per push/pull interval, defaulting to one when unset or non-positive. Export NodeState for use with the delegate API, and update the go-metrics dependency to v0.6.1.

Related Issue

None.

How Has This Been Tested?

  • go test ./... — passed.

Contributor Checklist

  • LLM Usage If an LLM was used to generate any code, please ensure and confirm you have read
    and followed the AI usage guide.have read
    and followed the AI usage guide.

Signed-off-by: Chloé Girard <chloe.girard.84@outlook.com>
@SquishyMochi514
SquishyMochi514 requested a review from a team as a code owner November 16, 2026 16:20
@hashicorp-cla-app

Copy link
Copy Markdown

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant