onyx-platform / onyx-datomic

Onyx plugin for Datomic
http://www.onyxplatform.org/
Eclipse Public License 1.0
37 stars 14 forks source link

Improve read-datoms fault tolerance recovery by use of seek-datoms #6

Open lbradstreet opened 9 years ago

lbradstreet commented 9 years ago

It may be possible to improve the way read-datoms recovers by seeking directly rather than dropping datoms until we've hit checkpointed index.

See http://docs.datomic.com/clojure/#datomic.api/seek-datoms

It may be a little complex doing this correctly, as it may depend on what index is used e.g. :avet, :vaet, etc.