diff --git a/client/internal/mount/vfs/cache/cache.go b/client/internal/mount/vfs/cache/cache.go index 5fdf440..b519232 100644 --- a/client/internal/mount/vfs/cache/cache.go +++ b/client/internal/mount/vfs/cache/cache.go @@ -552,8 +552,7 @@ func (c *Cache) visitNode(path []string, node *trie.Node[*CacheFile], ch *CacheF shouldUpload = false } - // 没有通过锁去读取Size,因为这里要求没那么严格 - if !c.syncFilter.ShouldSync(ch.pathComps, ch.info.Size) { + if !c.syncFilter.ShouldSync(ch.pathComps, info.Size) { shouldUpload = false }