add a place holder for later merge consecutive chunks

This commit is contained in:
chrislu
2022-04-06 00:28:48 -07:00
parent bc888226fc
commit 79b8e6a8c3
2 changed files with 21 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
package weed_server
import (
"github.com/chrislusf/seaweedfs/weed/operation"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
)
func (fs *FilerServer) maybeMergeChunks(so *operation.StorageOption, inputChunks []*filer_pb.FileChunk) (mergedChunks []*filer_pb.FileChunk, err error) {
//TODO merge consecutive smaller chunks into a large chunk to reduce number of chunks
return inputChunks, nil
}