mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 17:44:29 +00:00
e3: no wal support (#768)
This commit is contained in:
parent
2dcec83222
commit
c9972dbc8f
@ -329,7 +329,7 @@ func (ii *InvertedIndex) DiscardHistory(tmpdir string) {
|
|||||||
func (ii *InvertedIndex) StartWrites(tmpdir string) {
|
func (ii *InvertedIndex) StartWrites(tmpdir string) {
|
||||||
ii.walLock.Lock()
|
ii.walLock.Lock()
|
||||||
defer ii.walLock.Unlock()
|
defer ii.walLock.Unlock()
|
||||||
ii.wal = ii.newWriter(tmpdir, true, false)
|
ii.wal = ii.newWriter(tmpdir, WALCollectorRam > 0, false)
|
||||||
}
|
}
|
||||||
func (ii *InvertedIndex) FinishWrites() {
|
func (ii *InvertedIndex) FinishWrites() {
|
||||||
ii.walLock.Lock()
|
ii.walLock.Lock()
|
||||||
|
Loading…
Reference in New Issue
Block a user