<fix>[storage]: ZSTAC-86038 recover stale XInfini image cache#4538
<fix>[storage]: ZSTAC-86038 recover stale XInfini image cache#4538zstack-robot-2 wants to merge 1 commit into
Conversation
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
Warning
|
Validate cached XInfini snapshots before reuse. Rebuild missing regular caches and preserve user-owned snapshot reuse sources. Resolves: ZSTAC-86038 Change-Id: I88b8ac1fa8740194d735aa2c0dd139cadbd119ff
50d955c to
049cc6e
Compare
Summary
修复 XInfini 主存储的 ImageCacheVO 仍存在、但其后端 BsSnap 已丢失时,创建 vhost-root 云主机直接复用 stale cache 并报
BsSnap not found的问题。Changes
volumeSnapshotReuse://:复用快照缺失时明确失败,不删除用户源卷BsSnap not found行为,并增加 stale cache 自愈与复用快照安全回归场景Testing
mvn compile -pl header,storage,plugin/xinfini -am -DskipTests(24/24 modules)XinfiniPrimaryStorageCase:1 test, 0 failures, 0 errors, 0 skippedxinfini://2/17239@5640检查到 404 后重建为xinfini://2/17302@5648,VM 成功进入 RunningResolves: ZSTAC-86038
sync from gitlab !10500