mirror of
https://github.com/deepseek-ai/3FS
synced 2025-06-10 16:46:34 +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;
|
||||
}
|
||||
@ -748,4 +748,4 @@ void BatchedOp::finish(const Result<Inode> &result) {
|
||||
Operation<Inode>::finish(result);
|
||||
}
|
||||
|
||||
} // namespace hf3fs::meta::server
|
||||
} // namespace hf3fs::meta::server
|
||||
|
Loading…
Reference in New Issue
Block a user