mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-06 03:57:48 +01:00
fmt
This commit is contained in:
1 parent
2ffdda2661
commit
7e46abf052
2 files changed
+31
-31
No files matched your search
@@ -35,9 +35,9 @@ type LogReadFromDiskFuncType func(startPosition MessagePosition, stopTsNs int64,
|
||||
|
||||
// DiskChunkCache caches chunks of historical data read from disk
|
||||
type DiskChunkCache struct {
|
||||
mu sync.RWMutex
|
||||
chunks map[int64]*CachedDiskChunk // Key: chunk start offset (aligned to chunkSize)
|
||||
maxChunks int // Maximum number of chunks to cache
|
||||
mu sync.RWMutex
|
||||
chunks map[int64]*CachedDiskChunk // Key: chunk start offset (aligned to chunkSize)
|
||||
maxChunks int // Maximum number of chunks to cache
|
||||
}
|
||||
|
||||
// CachedDiskChunk represents a cached chunk of disk data
|
||||
|
||||
Reference in new issue
Block a user