From a9f7ec846ebd7cc42fe19b58ee9dd00e077f5dd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Fri, 7 Jul 2023 14:59:03 +0200 Subject: [PATCH] Fix messagepack propagation (#4048) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- changelog/unreleased/fix-messagepack-propagation.md | 5 +++++ pkg/storage/utils/decomposedfs/tree/tree.go | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelog/unreleased/fix-messagepack-propagation.md diff --git a/changelog/unreleased/fix-messagepack-propagation.md b/changelog/unreleased/fix-messagepack-propagation.md new file mode 100644 index 0000000000..451ebb18bd --- /dev/null +++ b/changelog/unreleased/fix-messagepack-propagation.md @@ -0,0 +1,5 @@ +Bugfix: fix messagepack propagation + +We cannot read from the lockfile. The data is in the metadata file. + +https://github.com/cs3org/reva/pull/4048 \ No newline at end of file diff --git a/pkg/storage/utils/decomposedfs/tree/tree.go b/pkg/storage/utils/decomposedfs/tree/tree.go index 2613033a1e..67beadc83e 100644 --- a/pkg/storage/utils/decomposedfs/tree/tree.go +++ b/pkg/storage/utils/decomposedfs/tree/tree.go @@ -767,7 +767,7 @@ func (t *Tree) Propagate(ctx context.Context, n *node.Node, sizeDiff int64) (err } }() - if n, err = n.ParentWithReader(ctx, f); err != nil { + if n, err = n.Parent(ctx); err != nil { sublog.Error().Err(err). Msg("Propagation failed. Could not read parent node.") return err