-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix hanging in transport layer (#121)
* Increase wait time on flush test * Small tidy-up in endpoint code * Add timeout on close and catch-all error handling * Formatting * Lazy-init global message context and don't shut down * Remove need to close global message context * Fix up timeout test * Removed catch-all error handling * Remove message context argument from open and close * Use stlib in Message object * Remove MessageContext object * Make SocketType a property on the message endpoint * Error checking around use of send and recv sockets * Remove the need for persist on messages * Restore simple class wrapper around context for shutdown * Close context from main thread * Switch to raii sockets * Remove MessageEndpointClient * Explicitly open and close message context * Simplify global context * Reinstate timeout test * Move sendResponse into RecvMessageEndpoint * Default reply port * Add linger * Self review * Added global context init/ close where necessary * Formatting * Remove dummy state server * Remove custom stop methods on snapshot and function call servers * Formatting * Starting req/rep refactor * Req/rep part 2 * Tests now running (and hanging) * Switch to using client class instead of sockets directly * Remove unused macros * Explicitly set sync/async ports * Split MPI world broadcasting of ranks into separate function * Move send/ recv host ranks to MpiWorld * Clear up MPI worlds in tests, lazy init recv ranks hosts socket * Thread-local sockets for rank-to-host mappings * Detailed logging of send/recv * Switch local/remote in remote world tests * Clear up all thread-local sockets when destroying MPI world * Fix remote world test hanging * Switch to SLEEP_MS macro * Formatting * Self review and restart dummy state server on initial error * Remove unnecessary threads in transport tests * Lengthen all timeouts * Retry connecting socket * Avoid arbitrary sleeps in tests * Add timeout on barrier * Long-lived shutdown endpoints in server * Added latch to async server * Guard against null pointers and avoid memcpying * Share latch via shared pointer * Typos * Link util to transport * Move global message context handling out of FaabricMain * Add retry logic in servers, unify server threads into signle class * Fix port mixup and remove unused macros * Remove use thread-local cache in scheduler * Rename retry macro * Move latch constructor * Move FB macro * Message server interface to buffers
- Loading branch information
Showing
74 changed files
with
2,523 additions
and
2,526 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
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
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
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 was deleted.
Oops, something went wrong.
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.