[tx] Test that transaction IDs are in the correct partition, strictly monotonic increasing, etc #146

Open
opened 2020-08-06 16:55:41 +00:00 by gburd · 0 comments
gburd commented 2020-08-06 16:55:41 +00:00 (Migrated from github.com)

This ticket tracks verifying that transaction IDs are:

  • in :db.part/tx;
  • strictly monotonically increasing;
  • preserved across DB close and re-open -- this is really testing the partition map updating.

This is follow-up to https://github.com/mozilla/mentat/pull/364#discussion_r105274423.

We should also test that :db/txInstant are:

  • monotonically increasing;
  • in a valid range.

This is follow-up to https://github.com/mozilla/mentat/pull/364#discussion_r105274261.

It might be necessary to provide a clock in some form to transact, and to make the global Conn and the local TestConn provide clocks.

This ticket tracks verifying that transaction IDs are: - in `:db.part/tx`; - strictly monotonically increasing; - preserved across DB close and re-open -- this is really testing the partition map updating. This is follow-up to https://github.com/mozilla/mentat/pull/364#discussion_r105274423. We should also test that `:db/txInstant` are: - monotonically increasing; - in a valid range. This is follow-up to https://github.com/mozilla/mentat/pull/364#discussion_r105274261. It might be necessary to provide a clock in some form to `transact`, and to make the global `Conn` and the local `TestConn` provide clocks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: greg/mentat#146
No description provided.