You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
401 B

  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. }