{"action":"created","issue":{"url":"https://api.github.com/repos/xrootd/xrootd/issues/287","labels_url":"https://api.github.com/repos/xrootd/xrootd/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/xrootd/xrootd/issues/287/comments","events_url":"https://api.github.com/repos/xrootd/xrootd/issues/287/events","html_url":"https://github.com/xrootd/xrootd/issues/287","id":106866171,"number":287,"title":"XrdCl \"forgets\" opaque info when recovering open","user":{"login":"esindril","id":1881134,"avatar_url":"https://avatars.githubusercontent.com/u/1881134?v=3","gravatar_id":"","url":"https://api.github.com/users/esindril","html_url":"https://github.com/esindril","followers_url":"https://api.github.com/users/esindril/followers","following_url":"https://api.github.com/users/esindril/following{/other_user}","gists_url":"https://api.github.com/users/esindril/gists{/gist_id}","starred_url":"https://api.github.com/users/esindril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esindril/subscriptions","organizations_url":"https://api.github.com/users/esindril/orgs","repos_url":"https://api.github.com/users/esindril/repos","events_url":"https://api.github.com/users/esindril/events{/privacy}","received_events_url":"https://api.github.com/users/esindril/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xrootd/xrootd/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"esindril","id":1881134,"avatar_url":"https://avatars.githubusercontent.com/u/1881134?v=3","gravatar_id":"","url":"https://api.github.com/users/esindril","html_url":"https://github.com/esindril","followers_url":"https://api.github.com/users/esindril/followers","following_url":"https://api.github.com/users/esindril/following{/other_user}","gists_url":"https://api.github.com/users/esindril/gists{/gist_id}","starred_url":"https://api.github.com/users/esindril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esindril/subscriptions","organizations_url":"https://api.github.com/users/esindril/orgs","repos_url":"https://api.github.com/users/esindril/repos","events_url":"https://api.github.com/users/esindril/events{/privacy}","received_events_url":"https://api.github.com/users/esindril/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/xrootd/xrootd/milestones/5","html_url":"https://github.com/xrootd/xrootd/milestones/v.4.3.0","labels_url":"https://api.github.com/repos/xrootd/xrootd/milestones/5/labels","id":1221594,"number":5,"title":"v.4.3.0","description":"","creator":{"login":"esindril","id":1881134,"avatar_url":"https://avatars.githubusercontent.com/u/1881134?v=3","gravatar_id":"","url":"https://api.github.com/users/esindril","html_url":"https://github.com/esindril","followers_url":"https://api.github.com/users/esindril/followers","following_url":"https://api.github.com/users/esindril/following{/other_user}","gists_url":"https://api.github.com/users/esindril/gists{/gist_id}","starred_url":"https://api.github.com/users/esindril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esindril/subscriptions","organizations_url":"https://api.github.com/users/esindril/orgs","repos_url":"https://api.github.com/users/esindril/repos","events_url":"https://api.github.com/users/esindril/events{/privacy}","received_events_url":"https://api.github.com/users/esindril/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2015-07-23T07:29:33Z","updated_at":"2015-09-16T21:17:34Z","due_on":null,"closed_at":null},"comments":30,"created_at":"2015-09-16T21:17:34Z","updated_at":"2015-09-21T11:54:16Z","closed_at":null,"body":"\r\nHappens quite often now in CASTOR for diskservers which are under heavy load. It has the following signature:\r\n\r\n150916 17:43:22 21073 XrootdXeq: alicedaq.8138:441@aldaqtdsm03 pvt IPv4 login as alicedaq\r\n150916 17:43:22 21073 alicedaq.8138:441@aldaqtdsm03 XrootdProtocol: endsess 14245:353.19908\r\n150916 17:43:22 21073 alicedaq.8138:441@aldaqtdsm03 XrootdProtocol: endsess 14245:353.19908 rc=4 (Resource temporarily unavailable)\r\n150916 17:43:22 time=1442418202.152684 func=open                     level=INFO  logid=a912d31c-5c89-11e5-bf06-001b21551dbc unit=ds@lxfsrk63a05.cern.ch:1094 tid=140534474995456 source=XrdxCastor2Ofs:448   tident=alicedaq.8138:441@aldaqtdsm03 path=/castor/cern.ch/alice/raw/technical/2015/09/16/16/15000236105030.1319.root, opaque=mode=644&oss.asize=1865279545, isRW=1, open_mode=4002, file_ptr=0x7fd0d24ed010\r\n150916 17:43:22 time=1442418202.152714 func=ExtractTransferInfo      level=ERROR logid=a912d31c-5c89-11e5-bf06-001b21551dbc unit=ds@lxfsrk63a05.cern.ch:1094 tid=140534474995456 source=XrdxCastor2Ofs:1000  tident=alicedaq.8138:441@aldaqtdsm03 no diskmanager opaque information i.e. castor.pfn2 missing\r\n150916 17:43:22 17023 castor2ofs_open: alicedaq.8138:441@aldaqtdsm03 Unable to get diskmanager opaque info (pfn2) ; input/output error\r\n\r\nThe opaque information should have contained the pfn2 info.\r\n\r\nBtw, @abh3  do you have any suggestion how I can easily get the server in a state where it triggers a retry on the client side for open?"},"comment":{"url":"https://api.github.com/repos/xrootd/xrootd/issues/comments/141950912","html_url":"https://github.com/xrootd/xrootd/issues/287#issuecomment-141950912","issue_url":"https://api.github.com/repos/xrootd/xrootd/issues/287","id":141950912,"user":{"login":"abh3","id":2657143,"avatar_url":"https://avatars.githubusercontent.com/u/2657143?v=3","gravatar_id":"","url":"https://api.github.com/users/abh3","html_url":"https://github.com/abh3","followers_url":"https://api.github.com/users/abh3/followers","following_url":"https://api.github.com/users/abh3/following{/other_user}","gists_url":"https://api.github.com/users/abh3/gists{/gist_id}","starred_url":"https://api.github.com/users/abh3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abh3/subscriptions","organizations_url":"https://api.github.com/users/abh3/orgs","repos_url":"https://api.github.com/users/abh3/repos","events_url":"https://api.github.com/users/abh3/events{/privacy}","received_events_url":"https://api.github.com/users/abh3/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T11:54:16Z","updated_at":"2015-09-21T11:54:16Z","body":"Hi Lukasz,\n\nThank you for looking into this. I think Elvin and I decided that if we go \nback to the redirector we start with whatever opaque information we used \non the initial go as the redirector really doesn't know (or really care) \nwhy it is that you are arriving. I know that may not be the case for all \npossible scenarios but we have to use something deterministic here andthis \napproach makes sense in the general case.\n\nAndy\n\nOn Mon, 21 Sep 2015, Lukasz Janyst wrote:\n\n> I don't remember why I did not pass the params, but I cannot think of a good reason not to do so since any new CGI returned by the redirector will supersede the old one (on the per-variable basis). I guess it's more of a global architecture consideration. The CGI definitely should be kept when you retry at a disk server after being redirected, but you may want a \"clean state\" when retrying at the redirector. It's up to @abh3 to decide what he wants here :)\n>\n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/xrootd/xrootd/issues/287#issuecomment-141928614\n"}}