daml/ledger/ledger-on-sql
Gerolf Seitz 5ddbd5c511
Implement timed command deduplication in kvutils (#5242)
* Implement timed command deduplication in kvutils

This adds a field deduplication_time to DamlCommandDedupValue for
deduplication timeout checking.

* Bump kvutils version to 4

* Fix CommandTracker pulling commandResultIn multiple times
Now that the timeouts are generated out of band, we have 2
"unsynchronized" places that pull on commandResultIn.
Whenever we pull, we need to check that commandResultIn hasn't been
pulled before.

* Add inStaticTimeMode flag to enable command dedup in sandbox-next with static-time

Fixes #4624.

CHANGELOG_BEGIN
[kvutils] KVUtils now respects the command deduplciation time instead of
deduplicating commands forever.
CHANGELOG_END
2020-04-03 10:44:35 +02:00
..
src Implement timed command deduplication in kvutils (#5242) 2020-04-03 10:44:35 +02:00
BUILD.bazel Implement timed command deduplication in kvutils (#5242) 2020-04-03 10:44:35 +02:00
hash-migrations.sh replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00