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

EOS grpc fixes #3420

Merged
merged 29 commits into from
Nov 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
910ef44
return inode in fileinfo
gmgigi96 Oct 25, 2022
02e7b7f
fix log
gmgigi96 Oct 25, 2022
8a9b779
fix eos grpc parsing
gmgigi96 Oct 25, 2022
74a723d
stat as a root
gmgigi96 Oct 25, 2022
0ca4fd7
workaround for inode (revert me)
gmgigi96 Oct 25, 2022
5c78b4e
set parent id in eosfs
gmgigi96 Oct 25, 2022
9047033
Revert "stat as a root"
gmgigi96 Oct 25, 2022
c6ad5eb
set storage id to parent id in storage provider
gmgigi96 Oct 25, 2022
c1af355
fix file path
gmgigi96 Oct 25, 2022
969dca3
clean path returned by eos
gmgigi96 Oct 26, 2022
774b7fc
set xattrs for lock as root
gmgigi96 Oct 26, 2022
58a9040
fix key when setting attribute
gmgigi96 Oct 26, 2022
9c3536f
stat as root
gmgigi96 Oct 26, 2022
8465c0a
Revert "stat as root"
gmgigi96 Oct 26, 2022
44424d8
trim prefix for user attrs
gmgigi96 Oct 26, 2022
a1c523e
do not filter sys attrs
gmgigi96 Oct 26, 2022
6aee932
fix add acl
gmgigi96 Oct 27, 2022
03a45ec
fix initiate file upload reference resolution
gmgigi96 Oct 28, 2022
ed9f541
fix initiate file upload
gmgigi96 Oct 28, 2022
1785e07
Revert "fix initiate file upload"
gmgigi96 Oct 28, 2022
5c1abaa
set sys acl as root
gmgigi96 Oct 31, 2022
ce7d953
workaround for adding acl
gmgigi96 Oct 31, 2022
7b3dc3f
fix unset attr
gmgigi96 Oct 31, 2022
cd9554b
unset lock as root
gmgigi96 Oct 31, 2022
a7e175e
Avoid crash when getting checksum in a stat request
ffurano Nov 3, 2022
4fcc35f
fix
gmgigi96 Nov 4, 2022
9a39089
add changelog
gmgigi96 Nov 29, 2022
cc0519a
fix linter
gmgigi96 Nov 29, 2022
f35ed7e
fix license
gmgigi96 Nov 29, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions changelog/unreleased/eos-grpc-fixes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: EOS grpc fixes

The shares and the applications were not working
with the EOS grpc storage driver. This fixes both.

https://github.com/cs3org/reva/pull/3420
3 changes: 3 additions & 0 deletions internal/grpc/services/storageprovider/storageprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -1559,6 +1559,9 @@ func (s *service) wrap(ctx context.Context, ri *provider.ResourceInfo, prefixMou
// For wrapper drivers, the storage ID might already be set. In that case, skip setting it
ri.Id.StorageId = s.mountID
}
if ri.ParentId != nil && ri.ParentId.StorageId == "" {
ri.ParentId.StorageId = s.mountID
}
if prefixMountpoint {
// TODO move mount path prefixing to the gateway
ri.Path = path.Join(s.mountPath, ri.Path)
Expand Down
1,346 changes: 684 additions & 662 deletions pkg/eosclient/eosgrpc/eos_grpc/Rpc.pb.go

Large diffs are not rendered by default.

Loading