Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pool: shutdown xrootd TPC event-loop group asynchronously
Motivation: Netty has two interesting features: first, shutting down is done "gracefully", where it waits at least one second for activity to calm down and can wait up to a maximum of three seconds; second, it supports asynchronous shutdown, where the various event-loops gracefully shutdown concurrently. Currently the Xrootd TPC event-loop does not take advantage of the asynchronous shutdown. It waits until the main activity has finished before starting its own graceful shutdown. Modification: Update Netty transfer service to support subclasses adding additional thread-groups that should be shutdown both gracefully and asynchronously. Update Xrootd netty transfer service to use this feature to shutdown the TPC event-loop asynchronously. Result: No user obserable changes. Pools will shut down slightly faster. Target: master Requires-notes: no Requires-book: no Patch: https://rb.dcache.org/r/12413/ Acked-by: Tigran Mkrtchyan
- Loading branch information
1 parent
b5f1270
commit d60801b
Showing
2 changed files
with
30 additions
and
13 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