mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 11:07:31 +01:00
sw-block: start-check comments describe the behaviour only
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c5478a990f
commit
1ef1326866
2 files changed
+2
-2
No files matched your search
@@ -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 {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user