-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"triedrc" is missing when XrdCl get no errNo #1435
Comments
Yes, we want triedrc=srverr as that's the closest approximation of the
problem.
…On Fri, 26 Mar 2021, Wei Yang wrote:
In some cases XrdCl will not get an errNo. For example, when the connection and retry timeout. In that case, XRootDMsgHandler::UpdateTriedCGI() set "tried=" but does not set "triedrc=". Do we want to set "triedrc" to something?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#1435
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1
|
Wouldn't it make more sense to introduce 2 new codes say connerr for timeouts and redirlim for redirect limit? |
What happens in such a case when triedrc=resel is already set? Does the additional code (srverr or one of the new ones) get appended, like triedrc=resel,srverr? |
well, I suppose it's for us to decide ;-) currently from what I see |
The triedrc is a rather blunt approximation of what is wrong. The server uses it to determine how the selection of a new node should proceed. It doesn't much matter what the error is for server related errors, so keeping it as srverr is just fine. For ioerrs, the redirector may decide to blacklist the server for that file for a while, for enoent the redirector will refresh the cache before selecting a new node. The resel rc limits the selection process. So, I don't think it's necessary to introduce any more error codes as the ones we have are good enough. The triedrc only has to indicate the last immediate error, the redirector does not need nor use any history/ So, additional codes are never appended to the triedrc. |
@abh3 : thanks for the clarification, so |
That's about it: e9fb99b I'll close this one, if there are any problems with the solution please reopen. |
In some cases XrdCl will not get an errNo. For example, when the connection and retry timeout. In that case, XRootDMsgHandler::UpdateTriedCGI() set "tried=" but does not set "triedrc=". Do we want to set "triedrc" to something?
The text was updated successfully, but these errors were encountered: