fix(lifecycle): back off idle free-version recovery (#5025)

Co-authored-by: Henry Guo <marshawcoco@users.noreply.github.com>
Co-authored-by: overtrue <anzhengchao@gmail.com>
This commit is contained in:
Henry Guo
2026-07-20 21:02:29 +08:00
committed by GitHub
parent b6838b262f
commit 376b90f61f
4 changed files with 2271 additions and 198 deletions
+3
View File
@@ -532,6 +532,9 @@ impl FileMeta {
if ver.header.version_id != vid {
continue;
}
if fi.tier_free_version() && !ver.header.free_version() {
return Err(Error::FileVersionNotFound);
}
match ver.header.version_type {
VersionType::Invalid | VersionType::Legacy => return Err(Error::other("invalid file meta version")),