aboutsummaryrefslogtreecommitdiff
path: root/weed/server/filer_server_handlers_write_merge.go
blob: 672a82672c591839d0da9209e8ecc5469f600873 (plain)
1
2
3
4
5
6
7
8
9
10
11
package weed_server

import (
	"github.com/seaweedfs/seaweedfs/weed/operation"
	"github.com/seaweedfs/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
}