On Thu, Apr 2, 2015 at 9:19 PM, ben turner (bent)
<bent.mozi...@gmail.com> wrote:
> On Wednesday, April 1, 2015 at 6:26:04 PM UTC-7, Jonas Sicking wrote:
>> This might match what you are saying.
>
> Yep!
>
>> My understanding is that at that point both the
>> child and the parent can crash.
>
> Well, it's not enough to just receive the commit message from the child. We 
> then have to actually switch threads to the db thread and tell SQLite to 
> commit the transaction. Once that completes I believe both processes could 
> crash and the data would eventually be saved to disk (barring loss of power, 
> etc).

We don't fire the "commit" event until after we've told SQLite to
commit and it's come back to tell us that the commit was successful,
do we?

/ Jonas
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to