Skip to content
Snippets Groups Projects
Commit 8822c831 authored by Danny Auble's avatar Danny Auble
Browse files

Avoid routing loops with backups.

parent cf6f9880
No related branches found
No related tags found
No related merge requests found
......@@ -154,6 +154,11 @@ extern slurm_addr_t* route_p_next_collector ( bool *is_collector )
*/
extern slurm_addr_t* route_p_next_collector_backup ( void )
{
return route_next_collector_backup();
/* return NULL until we have a clearly defined backup.
* Otherwise we could get into a sending loop if the primary
* fails with us sending to a sibling that may have me as a
* parent.
*/
return NULL;
}
......@@ -281,5 +281,10 @@ extern slurm_addr_t* route_p_next_collector ( bool *is_collector )
*/
extern slurm_addr_t* route_p_next_collector_backup ( void )
{
return route_next_collector_backup();
/* return NULL until we have a clearly defined backup.
* Otherwise we could get into a sending loop if the primary
* fails with us sending to a sibling that may have me as a
* parent.
*/
return NULL;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment