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

Get metadata by file id on EOS GRPC #1080

Open
labkode opened this issue Aug 12, 2020 · 3 comments
Open

Get metadata by file id on EOS GRPC #1080

labkode opened this issue Aug 12, 2020 · 3 comments
Assignees

Comments

@labkode
Copy link
Member

labkode commented Aug 12, 2020

Add to https://github.com/cs3org/reva/blob/master/pkg/eosclientgrpc/eos_grpc/eos_grpc.proto#L165
a method to get information by file id as done in:
#1079

@ffurano
Copy link
Contributor

ffurano commented Aug 17, 2020

I can add it to the proto, yet It will also have to be added to the EOS MGM

@labkode
Copy link
Member Author

labkode commented Aug 17, 2020

@ffurano please do send a PR to: https://github.com/cern-eos/grpc-proto

@ffurano
Copy link
Contributor

ffurano commented Aug 25, 2020

The protocol (and likely also the MGM server itself) supports getting metadata by fileid.
It's sufficient that the client app properly fills the data structure message
MDId {
bytes path = 1;
fixed64 id = 2;
fixed64 ino = 3;
TYPE type = 4;
}
which is part of the query.

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

2 participants