mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-26 02:37:55 +08:00
12 lines
401 B
Go
12 lines
401 B
Go
|
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
|
||
|
}
|