fix: resolve connection issues for aggregators on different nodes #615
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit addresses the issue where aggregators failed to connect to the server when running on different nodes. The changes include updates to
shm.py
andchannel_manager.py
to improve compatibility and error handling for multi-node setups.Changes in shm.py:
LIFLSharedMemoryBackend
to dynamically support configuration ofsockmap_server_ip
andrpc_server_ip
for non-localhost setups._rx_task
logging to provide clearer debugging information during message reception and processing.Changes in channel_manager.py:
_setup_backends
to correctly configure distinct backends for each channel, ensuring multi-node communication is supported.config.json
.Impact:
This commit has been tested with coord_hier_syncfl_mnist
Description
Please provide a meaningful description of what this change will do, or is for. Bonus points for including links to
related issues, other PRs, or technical references.
Note that by not including a description, you are asking reviewers to do extra work to understand the context of this
change, which may lead to your PR taking much longer to review, or result in it not being reviewed at all.
Type of Change
Checklist