- From: amirouche <notifications@github.com>
- Date: Thu, 25 Nov 2021 11:14:03 -0800
- To: w3c/IndexedDB <IndexedDB@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/IndexedDB/issues/355/979431206@github.com>
Here is what I use so far: > (okdb-transaction-hygiene [symbol]) symbol? → symbol? > > The parameter okdb-transaction-hygiene may be used to get or set transaction guarantees related to isolation, and consistency. The following symbols may be accepted: > > - read-uncommitted > - read-committed > - snapshot > - serializable > > ref: https://source.wiredtiger.com/10.0.0/transactions.html#transaction_isolation Then a transaction is explained as follow: > `(okdb-in-transaction okdb proc [failure [success]]) okdb? procedure? procedure? procedure? → any? ... ↑ okdb-conflict?` > > Rationales: > [...] > > `okvs-in-transaction` describes the extent of the atomic property, the > A in [ACID](https://en.wikipedia.org/wiki/ACID), of changes against > the underlying database. A transaction will apply all database > operations in `PROC` or none: all or nothing. When > `okdb-in-transaction` returns successfully, the changes will be > visible for future transactions, and implement durability, D in > ACID. In case of error, changes will not be visible to future > transactions in all cases. Regarding isolation, and consistency, > respectively the I and C in ACID, it depends on the parameter > `okdb-transaction-hygiene`. > Based and adjusted from https://git.sr.ht/~amirouche/okdb/ -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/IndexedDB/issues/355#issuecomment-979431206
Received on Thursday, 25 November 2021 19:14:16 UTC