Files
seaweedfs/weed
Chris LuandClaude Opus 5.5 5511baae15 volume: claim the volume before Destroy takes its data locks
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>
2026-12-03 15:39:22 -08:00
..
2026-04-23 10:05:51 -07:00