mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-06 07:26:43 -04:00
818e9b271e
When creating or compressing a snapshot, `fsync` all files and directories, so as to ensure that the snapshot is durable on the local disk. This obviously amounts to a large number of `fsync` calls, which may negatively impact performance of taking a snapshot -- since we hold a transaction lock while taking a snapshot, this is not to be taken lightly. # Expected complexity level and risk 3 -- performance impact # Testing I haven't quantified the performance impact.