aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/filechunks.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-10-16 23:35:20 -0700
committerChris Lu <chris.lu@gmail.com>2021-10-16 23:35:20 -0700
commit8e2c9713a339604ed883a06c3a4cadb808c196be (patch)
tree3fafe4065af4d9221f1f8bfd826df63ce5cd8f51 /weed/filer/filechunks.go
parente7d1f183ccf30a705ce36678d1abc91a95e969be (diff)
downloadseaweedfs-8e2c9713a339604ed883a06c3a4cadb808c196be.tar.xz
seaweedfs-8e2c9713a339604ed883a06c3a4cadb808c196be.zip
turn on new faster algorithm to translate into visible chunks
Diffstat (limited to 'weed/filer/filechunks.go')
-rw-r--r--weed/filer/filechunks.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/filechunks.go b/weed/filer/filechunks.go
index 66042c21a..be18d45ac 100644
--- a/weed/filer/filechunks.go
+++ b/weed/filer/filechunks.go
@@ -228,7 +228,7 @@ func NonOverlappingVisibleIntervals(lookupFileIdFn wdclient.LookupFileIdFunction
visibles2 := readResolvedChunks(chunks)
if true {
- // return visibles2, err
+ return visibles2, err
}
sort.Slice(chunks, func(i, j int) bool {