daml/runtime-components
nicu-da 1c4f173f3a
Command deduplication - kvutils - Always use max deduplication duration as deduplication period [KVL-1098] (#10824)
* Always use max_deduplication_duration as deduplication period for committer side deduplication

Doing this we get the following guarantees:
- Deduplication period is constant for all the submissions therefore this guarantees consistency between "backward-looking" and "forward-looking" deduplication

CHANGELOG_BEGIN
kvutils - committer side deduplication always uses max_deduplication_duration + min_skew as a deduplication period for all the requests.
CHANGELOG_END

* Set max_deduplication_duration to 10 seconds for all the conformance tests

* Update KV command deduplication conformance tests to account for max deduplication duration used as deduplication period for all the requests

* Add max deduplication wait for multi-participant conformance test

* Overwrite the submitter info deduplication period in the transaction committer so that we always set the max deduplication duration

* Update ledger/participant-state/kvutils/src/test/suite/scala/com/daml/ledger/participant/state/kvutils/committer/transaction/TransactionCommitterSpec.scala

Co-authored-by: Miklos <57664299+miklos-da@users.noreply.github.com>

* Add separate step for overwriting the deduplication period

* Code review - reformatting and renames

* Add comment for setting the deduplication duration
2021-09-10 09:05:21 -07:00
..
jdbc-drivers Set supported jdbc driver names at compile time (#9489) 2021-04-26 09:19:31 +02:00
non-repudiation Introduce a helper to limit signing to commands (#9050) 2021-03-08 16:26:02 +01:00
non-repudiation-api FreePort draw from outside ephemeral port range (#10774) 2021-09-07 15:41:43 +02:00
non-repudiation-app Add runner for non-repudiation (#9076) 2021-03-11 10:57:50 +01:00
non-repudiation-client Publish non-repudiation client libraries to Artifactory (#9282) 2021-03-30 12:18:07 +02:00
non-repudiation-core Publish non-repudiation-core to Artifactory as well (#9305) 2021-03-31 11:23:24 +00:00
non-repudiation-perf Upgrade doobie to version 0.13.4 (#10326) 2021-07-20 19:19:11 +02:00
non-repudiation-postgresql Command deduplication - kvutils - Always use max deduplication duration as deduplication period [KVL-1098] (#10824) 2021-09-10 09:05:21 -07:00
non-repudiation-resources Upgrade to Scala 2.13.5 (#9528) 2021-04-29 13:05:57 +00:00
non-repudiation-testing Deprecate Commands.deduplication_time field [KVL-1096] (#10802) 2021-09-09 11:30:17 +02:00