|
@ -26,7 +26,7 @@ func newPageWriter(file *File, chunkSize int64) *PageWriter { |
|
|
chunkSize: chunkSize, |
|
|
chunkSize: chunkSize, |
|
|
writerPattern: NewWriterPattern(chunkSize), |
|
|
writerPattern: NewWriterPattern(chunkSize), |
|
|
randomWriter: newTempFileDirtyPages(file, chunkSize), |
|
|
randomWriter: newTempFileDirtyPages(file, chunkSize), |
|
|
streamWriter: newStreamDirtyPages(file, chunkSize), |
|
|
|
|
|
|
|
|
// streamWriter: newStreamDirtyPages(file, chunkSize),
|
|
|
//streamWriter: newContinuousDirtyPages(file),
|
|
|
//streamWriter: newContinuousDirtyPages(file),
|
|
|
//streamWriter: nil,
|
|
|
//streamWriter: nil,
|
|
|
} |
|
|
} |
|
|