threefoldtech / rfs

A fuse filesystem in rust
Apache License 2.0
1 stars 1 forks source link

disable WAL in jounraling mode #38

Closed xmonader closed 10 months ago

xmonader commented 10 months ago

Muhamad Zuzu Be, [10/31/23 12:54 PM] rfs had an issue is that sqlite had wal enabled

Ahmed Thabet (unavailable), [10/31/23 12:55 PM] Why is that a bad thing?

Muhamad Zuzu Be, [10/31/23 12:55 PM] this caused en el fl wasn't enough

Muhamad Zuzu Be, [10/31/23 12:55 PM] u needed to ship the wal file as well

Muhamad Zuzu Be, [10/31/23 12:55 PM] so i disabled this (we don't need rollback anyway)

Muhamad Zuzu Be, [10/31/23 12:55 PM] so i changed the journal_mode to something else

Muhamad Zuzu Be, [10/31/23 12:55 PM] that doesn't require the WAL file

Muhamad Zuzu Be, [10/31/23 12:55 PM] fa now when u create an fl it's only one file

Muhamad Zuzu Be, [10/31/23 12:56 PM] that u can ship

xmonader commented 10 months ago

https://github.com/threefoldtech/rfs/commit/126805a21b7b4c9a9385b2c197e27bf280b325ca