-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the dictionary transfer in shmem2
We can _never_ assume that the indices in our dictionary match the ones in the server's dictionary. Even if the number of entries is the same, there is no guarantee that they are in the same order - and thus, the index of a particular entry can be different, causing errors on our side. Likewise, even if we have more entries than they do, there is no guarantee that their entries are in the same order as ours. So we have to rebuild the dictionary to match what they have - and if we have additional entries, then we add them back at the end of the new dictionary. Signed-off-by: Ralph Castain <rhc@pmix.org>
- Loading branch information
Showing
3 changed files
with
168 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.