JasonAlt / GridFTP-DSI-for-HPSS

GridFTP module that allows the Globus server to work with HPSS
Other
6 stars 2 forks source link

Better error reporting, report Globus error over HPSS error #63

Open JasonAlt opened 4 years ago

JasonAlt commented 4 years ago

During recent development, the DSI v2.9 was receiving connection refused on outbound data channels. The error reported to Transfer was hpss_PIORegister(): EIO. It seems that errors from calls like globus_gridftp_server_register_write() are not taking priority and so are hidden from users.

In light of how errors work in PIO (from contract testing), I think we can clean this up by prioritizing Globus error conditions over PIO error conditions. The only PIO call that gives a useful error is PIOExecute().