Skip to content
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

b2stage-gridftp tries to resolve invalid handles #31

Open
cookie33 opened this issue Apr 9, 2018 · 0 comments
Open

b2stage-gridftp tries to resolve invalid handles #31

cookie33 opened this issue Apr 9, 2018 · 0 comments

Comments

@cookie33
Copy link

cookie33 commented Apr 9, 2018

used b2stage-gridftp with tag 1.8

A list of a directory tries to do following (from the logfile):

[330770] Mon Apr  9 13:57:38 2018 :: irods2.storage.surfsara.nl:36830: [CLIENT]: MLSD /SURFsaraTest03/home/globustest/
[330770] Mon Apr  9 13:57:38 2018 :: iRODS DSI: if '/SURFsaraTest03/home' is a PID the Handle Server 'http://<fqdn>:8003/api/handles' will resolve it!!
[330770] Mon Apr  9 13:57:38 2018 :: iRODS DSI: manage_pid invoked..
[330770] Mon Apr  9 13:57:38 2018 :: iRODS DSI: complete handle URL: http://<fwdn>:8003/api/handles/SURFsaraTest03/home
[330770] Mon Apr  9 13:57:38 2018 :: iRODS DSI: JSON output from the Handle Server: {"responseCode":301,"message":"That prefix doesn't live here","handle":"SURFsaraTest03/home"}
[330770] Mon Apr  9 13:57:38 2018 :: iRODS DSI: JSON responseCode =  301
[330770] Mon Apr  9 13:57:38 2018 :: iRODS DSI: unable to resolve the PID. The Handle Server returned the response code: 301
[330770] Mon Apr  9 13:57:38 2018 :: iRODS DSI: stat_info->pathname=/SURFsaraTest03/home/globustest
[330770] Mon Apr  9 13:57:38 2018 :: iRODS DSI: found collection /SURFsaraTest03/home/globustest.

But a handle always exists of: <prefix>/<suffix>

So it should not try to resolve a bogus handle. This you can easily see because the originating data consists of /SURFsaraTest03/home/globustest/ which contains more than 2 items. So it does not adhere to a handle. So it does not need to be resolved. This should increase the speed and burden the load of the handle sever less with invalid handles.

I hope this makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant