Skip to content

IGNITE-19014 Topology aware Raft client creates its own message handler which is not aware of Raft group - #1796

Merged
vldpyatkov merged 5 commits into
apache:mainfrom
gridgain:ignite-19014
Mar 16, 2023
Merged

IGNITE-19014 Topology aware Raft client creates its own message handler which is not aware of Raft group#1796
vldpyatkov merged 5 commits into
apache:mainfrom
gridgain:ignite-19014

Conversation

@denis-chudov

Copy link
Copy Markdown
Contributor

/** Leader election handler. */
private final ServerEventHandler serverEventHandler;

private final BiConsumer<ClusterNode, Long> leaderElectionListener;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This property is excess.

)
);

RaftGroupEventsClientListener raftGroupEventsClientListener = new RaftGroupEventsClientListener();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we discussed before, TODO here is required, to move the property to a factory for various types of clients.

@vldpyatkov
vldpyatkov merged commit 80e48d7 into apache:main Mar 16, 2023
@vldpyatkov
vldpyatkov deleted the ignite-19014 branch March 16, 2023 16:56
maxzhuravkov pushed a commit to gridgain/apache-ignite-3 that referenced this pull request Mar 18, 2023
maxzhuravkov pushed a commit to gridgain/apache-ignite-3 that referenced this pull request Apr 19, 2023
isapego pushed a commit to isapego/ignite-3 that referenced this pull request Feb 19, 2025
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.

2 participants