Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

[tx] Implement :db/tx, :db/txInstant in transactor #186

@ncalexan

Description

@ncalexan

I just didn't get to tracking transaction IDs at all in #170. This might require #184, depending on how it's implemented, but there are simpler ways to achieve it.

Each transaction gets an extra assertion of the form:

[[:db/add :db/tx :db/txInstant INSTANT]]

where :db/tx is the next sequential transaction ID (in the :db.part/tx partition), and INSTANT is the transactors local time. (We'll ignore clock drift for now -- at our own peril.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions