Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

fix compilation

chrislu9e0d52616336
diff --git a/weed/filer/filechunk_section.go b/weed/filer/filechunk_section.go
index c3c5f65108..350cc44d1a 100644
--- a/weed/filer/filechunk_section.go
+++ b/weed/filer/filechunk_section.go
@@ -46,7 +46,6 @@ func (section *FileChunkSection) addChunk(chunk *filer_pb.FileChunk) error {
}
func removeGarbageChunks(section *FileChunkSection, garbageFileIds map[string]struct{}) {
- now := time.Now()
for i := 0; i < len(section.chunks); {
t := section.chunks[i]
length := len(section.chunks)