-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cells: Don't retry send during shutdown
The sendAndWaitToPermanent method allows blocking send to cells we know are usually available. When unavailable we optimistically wait till the cell comes back online or the timeout has expired. This is an excellent strategy, except if our cell is about to shut down. This patch alters the logic so that a NoRouteToCellException during cell shutdown causes the sendAndWaitToPermanent method to return right away. Target: trunk Require-notes: no Require-book: no Acked-by: Dmitry Litvintsev <litvinse@fnal.gov> Acked-by: Paul Millar <paul.millar@desy.de> Patch: http://rb.dcache.org/r/5291/
- Loading branch information
Gerd Behrmann
committed
Mar 17, 2013
1 parent
3137ab1
commit 2c3f687
Showing
2 changed files
with
22 additions
and
7 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