You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: Up to now I was only able to trigger the issue with a disabled metadata cache (STORAGE_USERS_FILEMETADATA_CACHE_STORE=noop) during testing. So this might not be relevant for production setups, that still needs to be analyzed. Nevertheless it's breaking some tests.
Describe the bug
When uploading a new file to a decomposedfs setup that initial upload already creates a revision duplicating the content of the upload.
Initial debugging indicates that when Finalizing the Upload we try to read the current node attributes from the metadata lockfiie instead of the the metadata file itself, when using the messagepack backend.
Activity
rhafer commentedon Jul 2, 2026
Turns out that
Finalizeis passing the lockfile (https://github.com/opencloud-eu/reva/blob/main/pkg/storage/pkg/decomposedfs/upload/upload.go#L317) as a reader to theXattrsWithReader()(https://github.com/opencloud-eu/reva/blob/main/pkg/storage/pkg/decomposedfs/upload/upload.go#L325) something is borked here.This just breaks for the "messagepack" backend as all the other backends are basicallly ignoring the reader that is passed to
AllWithLockedResource()fix(decomposed): Streamline metadata interface to avoid reading from …