Skip to content
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

Merged
merged 3 commits into from
Jul 29, 2019
Merged

Conversation

da-tanabe
Copy link
Contributor

@da-tanabe da-tanabe commented Jul 12, 2019

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 to
trigger the build.

@da-tanabe da-tanabe force-pushed the sandbox-jdbc-package-upload-resolution branch 7 times, most recently from 74664a3 to ca1c11f Compare July 12, 2019 17:55
Copy link
Contributor

@stefanobaghino-da stefanobaghino-da left a 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.

ledger/UNRELEASED.md Outdated Show resolved Hide resolved
Copy link
Contributor

@stefanobaghino-da stefanobaghino-da left a 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. 😉

@da-tanabe da-tanabe force-pushed the sandbox-jdbc-package-upload-resolution branch 3 times, most recently from 2dd8385 to 6b86f46 Compare July 15, 2019 14:53
@stefanobaghino-da
Copy link
Contributor

Took over @da-tanabe's work to add tests and some logging, ready for review.

@stefanobaghino-da stefanobaghino-da added the component/ledger Sandbox and Ledger API label Jul 26, 2019
@stefanobaghino-da
Copy link
Contributor

Fun fact: by working on someone else's PR you can approve your own contribution.

@stefanobaghino-da stefanobaghino-da changed the title sandbox: Fix a bug that prevents multiple DARs from being uploaded Idempotent package uploads Jul 26, 2019
stefanobaghino-da and others added 2 commits July 29, 2019 11:29
Co-Authored-By: Gerolf Seitz <gerolf.seitz@digitalasset.com>
@stefanobaghino-da stefanobaghino-da force-pushed the sandbox-jdbc-package-upload-resolution branch from 4e845ea to 515a76f Compare July 29, 2019 09:30
@mergify mergify bot merged commit acc41c3 into master Jul 29, 2019
@mergify mergify bot deleted the sandbox-jdbc-package-upload-resolution branch July 29, 2019 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ledger Sandbox and Ledger API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uploading more than one package to Sandbox fails with Postgres backend
4 participants