mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
storage: gofmt the chunk layer's state fields
The r4 field pendingBase left the rest of the block misaligned. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
24cbab0f27
commit
2d598a4dbd
1 file changed
+8
-8
@@ -72,14 +72,14 @@ type chunkLayerImpl struct {
|
||||
// pendingBase is the version the unresolved CAS expected. While HEAD is
|
||||
// still at it, that CAS may still land, so a read alone never settles it.
|
||||
pendingBase chunkHeadVersion
|
||||
remoteLSN uint64
|
||||
hdr chunkBitmapHeader // last header written or loaded
|
||||
dirty map[uint64]bool // chunks dirtied since the cut in progress or the last HEAD
|
||||
inflight map[uint64]bool // chunks captured by a cut whose HEAD is not yet installed
|
||||
allDirty bool // a BASE block landed: every chunk is dirty
|
||||
hashMode bool // the dirty set is unknown: compare every chunk by hash
|
||||
cutLSN uint64 // H of the latest cut taken (in flight or installed)
|
||||
keySeq uint64
|
||||
remoteLSN uint64
|
||||
hdr chunkBitmapHeader // last header written or loaded
|
||||
dirty map[uint64]bool // chunks dirtied since the cut in progress or the last HEAD
|
||||
inflight map[uint64]bool // chunks captured by a cut whose HEAD is not yet installed
|
||||
allDirty bool // a BASE block landed: every chunk is dirty
|
||||
hashMode bool // the dirty set is unknown: compare every chunk by hash
|
||||
cutLSN uint64 // H of the latest cut taken (in flight or installed)
|
||||
keySeq uint64
|
||||
|
||||
// Test-only scheduling hooks; nil in production.
|
||||
testPresenceSnapshotHook func() // after a presence snapshot, before it is written
|
||||
|
||||
Reference in new issue
Block a user