-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Idempotent package uploads #2131
Conversation
74664a3
to
ca1c11f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the relevant tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improved on my previous (quick) review. Of course tests are still needed. 😉
...c/main/scala/com/digitalasset/platform/sandbox/stores/ledger/sql/dao/PostgresLedgerDao.scala
Outdated
Show resolved
Hide resolved
...c/main/scala/com/digitalasset/platform/sandbox/stores/ledger/sql/dao/PostgresLedgerDao.scala
Show resolved
Hide resolved
...c/main/scala/com/digitalasset/platform/sandbox/stores/ledger/sql/dao/PostgresLedgerDao.scala
Outdated
Show resolved
Hide resolved
2dd8385
to
6b86f46
Compare
...r/sandbox/src/main/scala/com/digitalasset/platform/sandbox/stores/ledger/sql/SqlLedger.scala
Show resolved
Hide resolved
...c/main/scala/com/digitalasset/platform/sandbox/stores/ledger/sql/dao/PostgresLedgerDao.scala
Outdated
Show resolved
Hide resolved
6b86f46
to
b375f8c
Compare
Took over @da-tanabe's work to add tests and some logging, ready for review. |
Fun fact: by working on someone else's PR you can approve your own contribution. |
...r/sandbox/src/main/scala/com/digitalasset/platform/sandbox/stores/ledger/sql/SqlLedger.scala
Outdated
Show resolved
Hide resolved
Co-Authored-By: Gerolf Seitz <gerolf.seitz@digitalasset.com>
4e845ea
to
515a76f
Compare
Makes package uploads idempotent.
Fixes #2130.
Pull Request Checklist
NOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with
/AzurePipelines run
totrigger the build.