在删除空目录时, pruneEmptyDirs 会丢失配额元数据,导致重建时新的 inode 缺少原始配额
作者: zhengxingmao创建于 2026年9月3日更新于 2026年9月3日
Problem
When the gateway's pruneEmptyDirs() function deletes empty directories during deletObj, it also deletes their associated quota records from the metadata service. If the same directory path is recreated later, it gets a new inode, but the original quota information is lost and cannot be recovered.
内容来源: juicedata/juicefs