mirror of
https://github.com/deepseek-ai/3FS
synced 2025-06-14 18:39:39 +00:00
Merge 9594f0d0bc
into 91bfcf3606
This commit is contained in:
commit
b191279d98
@ -273,7 +273,7 @@ CoTryTask<VersionedLength> BatchedOp::queryLength(const Inode &inode,
|
||||
XLOGF(DBG, "don't need update {}, current {}, hint {}", inode.id, currLength, *hintLength);
|
||||
co_return currLength;
|
||||
}
|
||||
if (hintLength->truncateVer == currLength.truncateVer && hintLength->length > currLength.truncateVer) {
|
||||
if (hintLength->truncateVer == currLength.truncateVer && hintLength->length > currLength.length) {
|
||||
XLOGF(DBG, "update {} to hint {}, current {}", inode.id, *hintLength, currLength);
|
||||
co_return *hintLength;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user