canonical / dqlite

Embeddable, replicated and fault-tolerant SQL engine.
https://dqlite.io
Other
3.88k stars 216 forks source link

dqlite max database size is limited to `SIZE_MAX` #418

Open MathieuBordere opened 2 years ago

MathieuBordere commented 2 years ago

dqlite is limited to databases not exceeding 2^32 Bytes in size possibly related to sqlite's memory allocator. edit: Fix is in progress.

The practical size of a dqlite database is limited to SIZE_MAX, see description in #459.

MathieuBordere commented 1 year ago

Each write should check if the resulting database size is not larger than SIZE_MAX because otherwise we will not be able to restore the database after that it has been snapshotted.