Skip to content

Conversation

@thiell
Copy link
Collaborator

@thiell thiell commented Sep 19, 2023

Router and destination node sets defined in topology.conf may use NodeSet groups and wildcards but those have to resolve to non-empty node sets when we build the tree.

Add checks for this in the code and add a note to the documentation.

Fixes #527.

@thiell thiell self-assigned this Sep 19, 2023
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm wondering if this is really a big deal. Couldn't we just ignore those routes? If one of src or dst is empty, just don't add_route() ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Great point. It might be more flexible to just ignore such route, I will change that, thanks!

Router and destination node sets defined in topology.conf may use
NodeSet groups and wildcards but any route definition with an
empty node set when we build the tree will be ignored.

Add checks for this in the code and add a note to the documentation.

Fixes cea-hpc#527.
@thiell thiell force-pushed the b192_topology_deadlock branch from 15292b8 to 4b6f944 Compare September 19, 2023 23:04
@degremont degremont added this to the 1.9.2 milestone Sep 20, 2023
@thiell thiell added this pull request to the merge queue Sep 20, 2023
Merged via the queue into cea-hpc:master with commit 2125ae7 Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"topology.conf" leads to high CPU usage and memory not being released

2 participants