From 1ef132686657db69476201e6205d8fdf99a145f6 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 20 Nov 2026 23:58:32 -0800 Subject: [PATCH] sw-block: start-check comments describe the behaviour only Co-Authored-By: Claude Opus 5.5 --- seaweed-block/cmd/sw-block/chunk.go | 2 +- seaweed-block/cmd/sw-block/chunk_start_check_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/seaweed-block/cmd/sw-block/chunk.go b/seaweed-block/cmd/sw-block/chunk.go index 983a7ca611..7942b7a517 100644 --- a/seaweed-block/cmd/sw-block/chunk.go +++ b/seaweed-block/cmd/sw-block/chunk.go @@ -43,7 +43,7 @@ var dialChunkFiler = func(addr string) (chunkstore.Filer, func() error, error) { } // checkSingleFiler is the start check of a command that writes chunk -// metadata (O-ENG-4): block metadata goes through exactly one filer, the +// metadata: block metadata goes through exactly one filer, the // same rule blockvolume enforces at start. Tests replace it. var checkSingleFiler = func(ctx context.Context, f chunkstore.Filer) error { if s, ok := f.(*chunkstore.SWFS); ok { diff --git a/seaweed-block/cmd/sw-block/chunk_start_check_test.go b/seaweed-block/cmd/sw-block/chunk_start_check_test.go index f3c5e61ab1..05ff3c2399 100644 --- a/seaweed-block/cmd/sw-block/chunk_start_check_test.go +++ b/seaweed-block/cmd/sw-block/chunk_start_check_test.go @@ -10,7 +10,7 @@ import ( "github.com/seaweedfs/seaweed-block/core/frontend/chunkstore" ) -// O-ENG-4: every ops chunk command that writes chunk metadata runs the +// Every ops chunk command that writes chunk metadata runs the // single-filer start check before it reads or writes anything, and refuses // when the filer is not the only one of its group; read-only commands (and // read-only modes) do not run it.