Skip to content

fix(raft): drop unused NodeResolver field from CortexNetworkFactory#107

Merged
ApiliumDevTeam merged 1 commit into
mainfrom
feat/mcp-connector
Jul 9, 2026
Merged

fix(raft): drop unused NodeResolver field from CortexNetworkFactory#107
ApiliumDevTeam merged 1 commit into
mainfrom
feat/mcp-connector

Conversation

@ApiliumDevTeam

Copy link
Copy Markdown
Contributor

Removes a dead resolver field (dead_code warning): openraft hands new_client the target CortexNode with its address directly, so the factory never did a resolver lookup. NodeResolver stays as a pub type. No behavior change; 33 aingle_raft tests green.

openraft hands new_client the target CortexNode (with its address)
directly from cluster membership, so the factory never performed a
resolver lookup — the field was dead (dead_code warning) and the
cluster_init self-registration was write-only. Remove both; NodeResolver
stays as a pub type. No behavior change.
@ApiliumDevTeam ApiliumDevTeam merged commit 3a44cd2 into main Jul 9, 2026
11 of 12 checks passed
@ApiliumDevTeam ApiliumDevTeam deleted the feat/mcp-connector branch July 9, 2026 14:45
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