Skip to content

NIFI-2459: HTTP Site-to-Site can't update remote peer topology if the "bootstrap url" node is down #927

Closed
ijokarumawak wants to merge 1 commit intoapache:masterfrom
ijokarumawak:nifi-2459
Closed

NIFI-2459: HTTP Site-to-Site can't update remote peer topology if the "bootstrap url" node is down #927
ijokarumawak wants to merge 1 commit intoapache:masterfrom
ijokarumawak:nifi-2459

Conversation

@ijokarumawak
Copy link
Member

This PR migrates existing code which handles the situation, from EndpointConnectionPool to PeerSelector, so that both RAW and HTTP transport protocol has the same capability.

Added a unit test to confirm this scenario.

Also did an IT test using running NiFi cluster:
Used a 3 node cluster. Setup S2S specifying node 2 as the bootstrap node, then stop node 2. Confirm data is sent to only node 1 and 3. Remote peer status can still be refreshed. Then add Node 2 back, Confirm data is sent to node 1, 2 and 3.

Refresh remote peer statuses even if the bootstrap node goes down.

Migrate existing code which handles the situation from
EndpointConnectionPool to PeerSelector, so that both RAW and HTTP
transport protocol has the same capability.
@markap14
Copy link
Contributor

@ijokarumawak excellent - thanks for getting this in! Code looks good. Will do some verification and then if all looks good will push to master.

@asfgit asfgit closed this in a3586e0 Aug 24, 2016
@markap14
Copy link
Contributor

Looks good. Was able to verify the behavior and the results were exactly as expected! A big thanks for tackling this! +1 merged to master.

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