mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
re-order
This commit is contained in:
parent
e71dcfb3a6
commit
4acfc098e9
|
@ -15,16 +15,16 @@ type LogicChunkIndex int
|
||||||
type UploadPipeline struct {
|
type UploadPipeline struct {
|
||||||
filepath util.FullPath
|
filepath util.FullPath
|
||||||
ChunkSize int64
|
ChunkSize int64
|
||||||
writers *util.LimitedConcurrentExecutor
|
|
||||||
writableChunks map[LogicChunkIndex]*MemChunk
|
writableChunks map[LogicChunkIndex]*MemChunk
|
||||||
writableChunksLock sync.Mutex
|
writableChunksLock sync.Mutex
|
||||||
sealedChunks map[LogicChunkIndex]*SealedChunk
|
sealedChunks map[LogicChunkIndex]*SealedChunk
|
||||||
sealedChunksLock sync.Mutex
|
sealedChunksLock sync.Mutex
|
||||||
|
writers *util.LimitedConcurrentExecutor
|
||||||
activeWriterCond *sync.Cond
|
activeWriterCond *sync.Cond
|
||||||
activeWriterCount int32
|
activeWriterCount int32
|
||||||
|
saveToStorageFn SaveToStorageFunc
|
||||||
activeReadChunks map[LogicChunkIndex]int
|
activeReadChunks map[LogicChunkIndex]int
|
||||||
activeReadChunksLock sync.Mutex
|
activeReadChunksLock sync.Mutex
|
||||||
saveToStorageFn SaveToStorageFunc
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type SealedChunk struct {
|
type SealedChunk struct {
|
||||||
|
|
Loading…
Reference in a new issue