Browse Source

re-order

pull/2613/head
chrislu 3 years ago
parent
commit
4acfc098e9
  1. 4
      weed/filesys/page_writer/upload_pipeline.go

4
weed/filesys/page_writer/upload_pipeline.go

@ -15,16 +15,16 @@ type LogicChunkIndex int
type UploadPipeline struct {
filepath util.FullPath
ChunkSize int64
writers *util.LimitedConcurrentExecutor
writableChunks map[LogicChunkIndex]*MemChunk
writableChunksLock sync.Mutex
sealedChunks map[LogicChunkIndex]*SealedChunk
sealedChunksLock sync.Mutex
writers *util.LimitedConcurrentExecutor
activeWriterCond *sync.Cond
activeWriterCount int32
saveToStorageFn SaveToStorageFunc
activeReadChunks map[LogicChunkIndex]int
activeReadChunksLock sync.Mutex
saveToStorageFn SaveToStorageFunc
}
type SealedChunk struct {

Loading…
Cancel
Save