diff options
| author | chrislu <chris.lu@gmail.com> | 2024-09-10 10:29:25 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2024-09-10 10:29:25 -0700 |
| commit | 93decd1114e0b258468049c5df4148980b92f492 (patch) | |
| tree | a41f9bef2f01e81cfa3f1e100926a0f4a5333061 | |
| parent | 69fcdd0840df3d6f116cf14eb929467bdea87e45 (diff) | |
| download | seaweedfs-93decd1114e0b258468049c5df4148980b92f492.tar.xz seaweedfs-93decd1114e0b258468049c5df4148980b92f492.zip | |
remove unused
| -rw-r--r-- | weed/filer/filechunk_group.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/weed/filer/filechunk_group.go b/weed/filer/filechunk_group.go index dbd08b42b..dbeb54ce8 100644 --- a/weed/filer/filechunk_group.go +++ b/weed/filer/filechunk_group.go @@ -10,7 +10,6 @@ import ( type ChunkGroup struct { lookupFn wdclient.LookupFileIdFunctionType - chunkCache chunk_cache.ChunkCache sections map[SectionIndex]*FileChunkSection sectionsLock sync.RWMutex readerCache *ReaderCache @@ -19,7 +18,6 @@ type ChunkGroup struct { func NewChunkGroup(lookupFn wdclient.LookupFileIdFunctionType, chunkCache chunk_cache.ChunkCache, chunks []*filer_pb.FileChunk) (*ChunkGroup, error) { group := &ChunkGroup{ lookupFn: lookupFn, - chunkCache: chunkCache, sections: make(map[SectionIndex]*FileChunkSection), readerCache: NewReaderCache(32, chunkCache, lookupFn), } |
