Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
8822c831
Commit
8822c831
authored
9 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
Avoid routing loops with backups.
parent
cf6f9880
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/route/default/route_default.c
+6
-1
6 additions, 1 deletion
src/plugins/route/default/route_default.c
src/plugins/route/topology/route_topology.c
+6
-1
6 additions, 1 deletion
src/plugins/route/topology/route_topology.c
with
12 additions
and
2 deletions
src/plugins/route/default/route_default.c
+
6
−
1
View file @
8822c831
...
...
@@ -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
;
}
This diff is collapsed.
Click to expand it.
src/plugins/route/topology/route_topology.c
+
6
−
1
View file @
8822c831
...
...
@@ -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
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment