4 ms·
Based on the following header file, it would seem that they are using this unsupported module. https://github.com/canonical/dqlite/blob/master/src/vfs.h https:
by rockwotj 7y ago
Based on the following header file, it would seem that they are using this unsupported module.
https://github.com/canonical/dqlite/blob/master/src/vfs.h https://github.com/canonical/dqlite/blob/master/src/vfs.h
- tyingq 7y agoThey would have to, wouldn't they? The Sqlite VFS subsystem is the obvious place to intercept the usually local DB and WAL reads/writes and make them distributed functions that use Raft.
- cyphar 7y agoYes, you have to use a forked SQLite in order to make use of dqlite. I believe they (the LXD team) are working on upstreaming the WAL changes but due to SQLite's very strong compatibility guarantees they want to be very certain the API and protocol are correct before carving it in stone. Not to mention they are the only major users of the feature, so more widespread use would also be nice before merging it upstream.
- free-ekanayaka 7y agoEverything you said is very accurate (dqlite author here).