e3: no wal support (#768)

This commit is contained in:
Alex Sharov 2022-12-07 12:15:09 +07:00 committed by GitHub
parent 2dcec83222
commit c9972dbc8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,7 +329,7 @@ func (ii *InvertedIndex) DiscardHistory(tmpdir string) {
func (ii *InvertedIndex) StartWrites(tmpdir string) {
ii.walLock.Lock()
defer ii.walLock.Unlock()
ii.wal = ii.newWriter(tmpdir, true, false)
ii.wal = ii.newWriter(tmpdir, WALCollectorRam > 0, false)
}
func (ii *InvertedIndex) FinishWrites() {
ii.walLock.Lock()