influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

Move WAL out of BoltDB

Open pauldix opened this issue 11 years ago • 8 comments

Having the WAL in BoltDB is causing the entire database to lock during WAL flushes, which is causing write timeouts. Move the WAL outside of Bolt and ensure that flushes of the WAL do not cause the database to lock for writes.

WAL should be able to flush incrementally. It should gradually put on back pressure if the index is unable to keep up with the pace of WAL flushing. Ideally this should occur over time rather than as a large timeout.

pauldix avatar Jul 30 '15 13:07 pauldix

This would be wonderful.

original-el8 avatar Jul 30 '15 13:07 original-el8

Seems that the same issue is very important in my case, hope fix will be provided soon.

maxboiko avatar Aug 07 '15 05:08 maxboiko

Waiting for this one also ;-)

syepes avatar Aug 07 '15 09:08 syepes

While you guys are waiting for this, I am urgently waiting for it :)

kenzodeluxe avatar Aug 07 '15 09:08 kenzodeluxe

+1

srikara avatar Aug 11 '15 00:08 srikara

+1

redHL avatar Aug 17 '15 04:08 redHL

+1

indrekj avatar Aug 17 '15 14:08 indrekj

Done in #3569 and on 0.9.3-rc1, which I'm cutting right now. Testing and performance results are greatly appreciated!

pauldix avatar Aug 19 '15 00:08 pauldix