mozilla / mentat

UNMAINTAINED A persistent, relational store inspired by Datomic and DataScript.
https://mozilla.github.io/mentat/
Apache License 2.0
1.65k stars 115 forks source link

[tx] Datoms resolved in earlier round of upserts are dropped from later generations #679

Closed ncalexan closed 6 years ago

ncalexan commented 6 years ago

Well, this is embarrassing. While evolving generations, the transactor upserts as much as possible in a round, and then resolves what it can. Unfortunately, we don't accumulate resolved datoms correctly, dropping them as the generations evolve, leaving them unapplied to the store.

ncalexan commented 6 years ago

Addressed by https://github.com/mozilla/mentat/commit/46c2a0801f450f4f62482ee067ed272e1057a747.