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

Use common filesystem loader #1035

Closed
wants to merge 2 commits into from

Conversation

bbockelm
Copy link
Contributor

@bbockelm bbockelm commented Aug 7, 2019

When the TPC library was maintained out-of-tree, we had to stick to the public interfaces. This forced the filesystem loader code to duplicate a lot of logic (not necessarily 100% correct).

With this change, the plugin will make a call directly into the internal function that does the SFS loading elsewhere in Xrootd.

@abh3 - if you are OK with the approach and implementation, there's another place where we can remove code in XrdMacaroons.

Fixes #1034

@abh3
Copy link
Member

abh3 commented Aug 7, 2019 via email

@bbockelm
Copy link
Contributor Author

bbockelm commented Aug 7, 2019

can [we] use the SFS interface that the xrootd protocol loads

I suspect we could - is it obvious how to "pull that through" to the plugin?

The bigger question is why are you using the SFS interface and not the oss interface?

This code also needs to work on redirectors.

@abh3
Copy link
Member

abh3 commented Aug 7, 2019 via email

@bbockelm
Copy link
Contributor Author

bbockelm commented Aug 8, 2019

I assume you simply are looking for the "xrootd.fslib" directive to load the correct thing, right?

Correct!

@abh3
Copy link
Member

abh3 commented Sep 6, 2019

I see that this pull request is still in draft form and cannot be merged. Do you have an estimate of when this will be ready?

@bbockelm
Copy link
Contributor Author

bbockelm commented Mar 9, 2020

Oh! I see that I missed Andy's last comment. Marking as ready-to-review.

@bbockelm bbockelm marked this pull request as ready for review March 9, 2020 14:54
@abh3
Copy link
Member

abh3 commented Mar 9, 2020

Not quite ready, as there seem to be conflicts now. In any case, we likely need to re-review this in the context of stack-able plugins that appears in R5.

@abh3
Copy link
Member

abh3 commented Apr 11, 2020

Can we close this pull request as it doesn't seem applicable after all the other changes around this issue.

@abh3
Copy link
Member

abh3 commented May 19, 2020

Can we close this pull request. It has merge conflicts and I think this was already fixed in another way, right?

@abh3
Copy link
Member

abh3 commented Jul 8, 2020

Is this pull request even relevant now?

@bbockelm
Copy link
Contributor Author

bbockelm commented Jul 9, 2020

I think we can close this right now - can always come back as needed.

@bbockelm bbockelm closed this Jul 9, 2020
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

Successfully merging this pull request may close these issues.

libXrdHttpTPC does not support fallback for the fslib directive
2 participants