From 9c65af4c5aa58deced762a456e7c391027d61bdc Mon Sep 17 00:00:00 2001 From: pingqiu Date: Wed, 18 Nov 2026 20:25:52 -0800 Subject: [PATCH] test repro: record goroutines at no-Flush admission timeout --- .../core/frontend/durable/provider_chunk_noflush_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/seaweed-block/core/frontend/durable/provider_chunk_noflush_test.go b/seaweed-block/core/frontend/durable/provider_chunk_noflush_test.go index c2a6dd27a7..674102985b 100644 --- a/seaweed-block/core/frontend/durable/provider_chunk_noflush_test.go +++ b/seaweed-block/core/frontend/durable/provider_chunk_noflush_test.go @@ -9,6 +9,7 @@ import ( "github.com/seaweedfs/seaweed-block/core/frontend/nvme" "github.com/seaweedfs/seaweed-block/core/recovery" "github.com/seaweedfs/seaweed-block/core/storage" + "runtime" "sort" "testing" "time" @@ -76,6 +77,9 @@ func runNoClientFlushBurst(t *testing.T, mode storage.WMode) { r := h.Handle(ctx, nvme.IOCommand{Opcode: 0x01, NSID: 1, SLBA: uint64(off / 4096), NLB: transfer / 4096, Data: data}) durations = append(durations, time.Since(writeStart)) if r.AsError() != nil { + dump := make([]byte, 2<<20) + n := runtime.Stack(dump, true) + t.Logf("TIMEOUT STACKS\n%s", dump[:n]) t.Fatalf("NO FLUSH write bytes=%d elapsed=%v result=%+v cp=%d next=%d", off, time.Since(start), r, ws.CheckpointLSN(), ws.NextLSN()) } if (off+transfer)%(16*1024*1024) == 0 {