mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
deleteVolumeById checked the compaction flag and only then let Destroy take the data locks, so a commit that claimed the volume in between still made the delete wait out its reload under the volumes lock. CommitCompact claims before it locks, so Destroy now does the same and refuses a claimed volume without waiting; the separate check in deleteVolumeById is no longer needed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>