vaticle / typedb

TypeDB: the polymorphic database powered by types
https://typedb.com
Mozilla Public License 2.0
3.72k stars 337 forks source link

Move put validation to commit time, update put state during validation #7025

Closed dmitrii-ubskii closed 3 months ago

dmitrii-ubskii commented 3 months ago

Usage and product changes

We now avoid reading storage during put operations in a write snapshot. Instead, all put operations are initialized during commit into storage, and the state of whether the insertion of the put data needs to be performed is updated during commit validation.

vaticle-bot commented 3 months ago

PR Review Checklist

Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.


Trivial Change

Code

Architecture