Browse Source

remove debug message

pull/2730/head
chrislu 3 years ago
parent
commit
8136384473
  1. 2
      weed/mount/page_writer/upload_pipeline.go

2
weed/mount/page_writer/upload_pipeline.go

@ -74,7 +74,7 @@ func (up *UploadPipeline) SaveDataAt(p []byte, off int64) (n int) {
} }
up.moveToSealed(up.writableChunks[fullestChunkIndex], fullestChunkIndex) up.moveToSealed(up.writableChunks[fullestChunkIndex], fullestChunkIndex)
delete(up.writableChunks, fullestChunkIndex) delete(up.writableChunks, fullestChunkIndex)
fmt.Printf("flush chunk %d with %d bytes written", logicChunkIndex, fullness)
// fmt.Printf("flush chunk %d with %d bytes written\n", logicChunkIndex, fullness)
memChunk = NewMemChunk(logicChunkIndex, up.ChunkSize) memChunk = NewMemChunk(logicChunkIndex, up.ChunkSize)
} }
up.writableChunks[logicChunkIndex] = memChunk up.writableChunks[logicChunkIndex] = memChunk

Loading…
Cancel
Save