Hi Mindy :-)
The semantics intend to match the “commit” operation of Irmin, e.g. a commit
will ever read what is in the current checkout (and/or what have been written
in that commit since the beginning of the transaction). The important bits is
that it won’t be able to read writes done by conc
Looking at littlefs, you could probably get close to the transactional
semantics by writing all the file data out first in the batch operation, and
then hooking them into the main kv store by updating the metadata last. In the
case of a crash, the files written out would be orphaned and so a sep
On 1/3/22 08:41, Thomas Gazagnaire wrote:
Hi Mindy :-)
The semantics intend to match the “commit” operation of Irmin, e.g. a commit
will ever read what is in the current checkout (and/or what have been written
in that commit since the beginning of the transaction). The important bits is
that