daml/ledger/ledger-on-sql
Samir Talwar fe1c678531
sandbox: Attempt to make the reset service tests less flaky. (#10507)
* sandbox: Do less when resetting.

We don't need to reconstruct some basic things.

CHANGELOG_BEGIN
CHANGELOG_END

* sandbox: When testing the reset service, keep trying.

If we scale up the test duration, we also need to scale up the timeouts.

* timer-utils: If `RetryStrategy` eventually fails, explain what happened.

For example, if the attempts limit is exceeded, say so.

* Revert "timer-utils: If `RetryStrategy` eventually fails, explain what happened."

This reverts commit 6647681688.
2021-08-06 15:26:25 +00:00
..
src sandbox: Attempt to make the reset service tests less flaky. (#10507) 2021-08-06 15:26:25 +00:00
BUILD.bazel remove unstable marker for append-only features (#10465) 2021-08-03 10:09:11 +00:00
hash-migrations.sh update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
README.md ledger-on-sql: Use random log entry ID allocation so we don't depend on SeedService. [KVL-1002] (#10255) 2021-07-13 17:10:30 +00:00

Ledger on SQL

This is an implementation of a ledger using kvutils on top of an SQL database. Currently, it can be run on top of H2, PostgreSQL, or SQLite.

The code under src/main implements the logic, using kvutils. This code is production-ready and used by Sandbox.

The code under src/app is a trivial application front-end to the ledger that spins it up, along with a Ledger API Server. This is not intended to be used in production, and is currently only used in testing.