From 1137213b65eb837c34fe70aa3310bdd68aa876cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Thu, 20 Apr 2023 22:23:34 +0200 Subject: [PATCH] use correct tracer pkg name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- pkg/storage/cache/stat.go | 3 ++- pkg/storage/utils/decomposedfs/metadata/metadata.go | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pkg/storage/cache/stat.go b/pkg/storage/cache/stat.go index bbe17b9d106..f401d7da2e3 100644 --- a/pkg/storage/cache/stat.go +++ b/pkg/storage/cache/stat.go @@ -36,7 +36,7 @@ import ( var tracer trace.Tracer func init() { - tracer = otel.Tracer("github.com/cs3org/reva/pkg/storage/utils/decomposedfs/lookup") + tracer = otel.Tracer("github.com/cs3org/reva/pkg/storage/cache") } // NewStatCache creates a new StatCache @@ -93,6 +93,7 @@ func (c statCache) RemoveStatContext(ctx context.Context, userID *userpb.UserId, } wg.Wait() + } // RemoveStatContext(ctx, removes a reference from the stat cache diff --git a/pkg/storage/utils/decomposedfs/metadata/metadata.go b/pkg/storage/utils/decomposedfs/metadata/metadata.go index 243895b3644..62974d80ad8 100644 --- a/pkg/storage/utils/decomposedfs/metadata/metadata.go +++ b/pkg/storage/utils/decomposedfs/metadata/metadata.go @@ -89,6 +89,11 @@ func (NullBackend) Set(ctx context.Context, path string, key string, val []byte) return errUnconfiguredError } +// SetMultipleWithContext sets a set of attribute for the given path +func (NullBackend) SetMultipleWithContext(ctx context.Context, path string, attribs map[string][]byte, acquireLock bool) error { + return errUnconfiguredError +} + // SetMultiple sets a set of attribute for the given path func (NullBackend) SetMultiple(ctx context.Context, path string, attribs map[string][]byte, acquireLock bool) error { return errUnconfiguredError