dqlite icon indicating copy to clipboard operation
dqlite copied to clipboard

dqlite max database size is limited to `SIZE_MAX`

Open MathieuBordere opened this issue 2 years ago • 1 comments

~~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 avatar Oct 18 '22 10:10 MathieuBordere

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.

MathieuBordere avatar Jan 19 '23 15:01 MathieuBordere