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