<fix>[zbs]: ZSTAC-86663 deactivate Vhost clients before expunge#4539
<fix>[zbs]: ZSTAC-86663 deactivate Vhost clients before expunge#4539zstack-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: 8 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 (2)
Warning
|
Resolve ZBS Vhost clients through exact KVM management and extra IP matches. Fail closed unless exactly one host owns the client IP. Resolves: ZSTAC-86663 Change-Id: I457c63ae6a7e251887fb2a245d57eb93318f810d
a52ce5a to
cfaf390
Compare
Summary
ZBS Vhost volume expunge can discover an active client whose storage-side source IP is a host extra IP, while the ActiveVolumeClient deactivate path previously returned success without deleting the Vhost bdev. This can leave a residual bdev and cause physical volume deletion to fail with kFileOccupied.
Changes
Testing
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 mvn -pl plugin/zbs -am -DskipTests compileJAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 mvn -pl plugin/zbs -am -DskipTests installZbsVhostVolumeCase: 1 test, 0 failures, 0 errors, 0 skippedResolves: ZSTAC-86663
sync from gitlab !10501