objectbox / objectbox-go

Embedded Go Database, the fast alternative to SQLite, gorm, etc.
https://objectbox.io
Apache License 2.0
1.07k stars 46 forks source link

Further explain ACID compliance #3

Closed MMeent closed 5 years ago

MMeent commented 5 years ago

As written here: https://golang.objectbox.io/faq#is-objectbox-acid-compliant-is-it-an-in-memory-database

For synchronous transactions (e.g. what happens under the hood for Box.Put()), data is stored durable once it returns.

Is there any info on the guarantee of consistency in case the transaction is aborted before Box.Put() returns? (e.g. system halt.)

I also could not find it in the transaction docs

greenrobot commented 5 years ago

It's like part of the ACID definition, but yes, maybe we should point that out more explicitly.