filer_server_handlers_write_merge.go 401 B

1234567891011
  1. package weed_server
  2. import (
  3. "github.com/seaweedfs/seaweedfs/weed/operation"
  4. "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"
  5. )
  6. func (fs *FilerServer) maybeMergeChunks(so *operation.StorageOption, inputChunks []*filer_pb.FileChunk) (mergedChunks []*filer_pb.FileChunk, err error) {
  7. //TODO merge consecutive smaller chunks into a large chunk to reduce number of chunks
  8. return inputChunks, nil
  9. }