You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a hitchhiker-tree index, after upserting (and retracting) a datom with a prior value, upserts using the same EA (entity and attribute) retract that value instead of the latest value.
What is the expected behaviour?
An upsert should retract the latest value (if any) of the same EA.
What version of Datahike are you using?
0.4.1502
What version of Java are you using?
java version "16.0.2" 2021-07-20
What operating system are you using?
MacOS
What database EDN configuration are you using?
{:store {:backend :mem},
:keep-history? true,
:schema-flexibility :read,
:attribute-refs? false,
:index :datahike.index/hitchhiker-tree}
Describe the bug
When using a hitchhiker-tree index, after upserting (and retracting) a datom with a prior value, upserts using the same EA (entity and attribute) retract that value instead of the latest value.
What is the expected behaviour?
An upsert should retract the latest value (if any) of the same EA.
How can the behaviour be reproduced?
The text was updated successfully, but these errors were encountered: