Skip to content
Open
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions pkg/storage/fs/posix/tree/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func New(lu node.PathLookup, bs node.Blobstore, um usermapper.Mapper, trashbin *
// warmup the cache for all space roots right away so clients and migrations don't get confused when starting with a cold cache
err := t.warmupSpaceRootCache(o)
if err != nil {
return nil, errors.Wrap(err, "error warming up space root cache")
t.log.Error().Err(err).Msg("error warming up space root cache, continuing")
}

// scan the whole tree asynchronously to pick up new nodes
Expand Down Expand Up @@ -235,7 +235,7 @@ func (t *Tree) warmupSpaceRootCache(options *options.Options) error {
}
err = t.idCache.Set(context.TODO(), spaceID, spaceID, path)
if err != nil {
return errors.Wrap(err, "could not cache space root path")
t.log.Error().Err(err).Str("spaceID", spaceID).Str("path", path).Msg("could not cache space root path, continuing")
}
}
return nil
Expand Down