mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
T3-DEF-6 (NVMe session cleanup contract): Add core/frontend/nvme/t3_qa_session_cleanup_addendum_test.go with TestT3_NVMe_Session_CleanupOnClose_NoLeaksAcrossCycles (20 cycles, goroutine leak guard) and TestT3_NVMe_Session_CleanupOnClose_CNTLIDAllocator (monotonic CNTLID across 8 cycles + one post-cycles reconnect). Pins new catalogue row C5-NVME-SESSION-STATE-CLEANUP-ON-CLOSE as smoke + leak-guard (not full state-release introspection; target-registry introspection deferred). Matrix F ENOSPC cleanup robustness (iterate-m01-nvme.sh): SSH cleanup phase was non-zero-exiting when blockvolume crashed on ENOSPC (dead NVMe target hangs sudo nvme disconnect). Switch cleanup block to tolerate all benign non-zero exits, remove set -e, and use pattern-based success detection (grep 'ENOSPC triggered gracefully' in server-side output) as the authoritative Matrix F pass signal. Ownership: QA (L1 addendum + QA-owned script) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>