daml/runtime-components
nicu-da 7cc698948c
Add multiple ways of specifying deduplication [KVL-1047] (#10601)
CHANGELOG_BEGIN
ledger-api - Command deduplication period can now be specified by setting `deduplication_offset` instead of `deduplication_time` (only valid for v2 WriteService). This change is backwards compatible.
CHANGELOG_END

* Propagate the enriched deduplicationPeriod instead of deduplication duration

* Update the Haskell bindings for the new deduplication period

* Calculate the deduplicateUntil using the new deduplication period for backward compat

* Use consistent naming for deduplication_period

* Cleanup command timeout extraction from deduplication period

* Add the required deduplication_offset to deduplication instead of deduplication_start

* Update haskell bindings to support deduplication_offset

* Add support for deduplication_offset in the ledger-api

* Remove the timestamp-based deduplication from our models to simplify upgrade for users

* Add optional conformance test for offset based deduplication

* Remove buf rule for FIELD_SAME_ONEOF as our change is backwards compatible

* Disable FIELD_SAME_ONEOF buf check for commands file

* Apply suggestions from code review

Co-authored-by: Miklos <57664299+miklos-da@users.noreply.github.com>
Co-authored-by: Samir Talwar <samir.talwar@digitalasset.com>

* Update comment for deduplication period

Co-authored-by: Miklos <57664299+miklos-da@users.noreply.github.com>
Co-authored-by: Samir Talwar <samir.talwar@digitalasset.com>
2021-08-25 05:58:03 -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 Add runner for non-repudiation (#9076) 2021-03-11 10:57:50 +01: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 Replace LedgerConfiguration with InitialLedgerConfiguration or the load timeout. [KVL-1058] (#10487) 2021-08-05 16:31:45 +00:00
non-repudiation-resources Upgrade to Scala 2.13.5 (#9528) 2021-04-29 13:05:57 +00:00
non-repudiation-testing Add multiple ways of specifying deduplication [KVL-1047] (#10601) 2021-08-25 05:58:03 -07:00