-
Notifications
You must be signed in to change notification settings - Fork 5
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
Checksum Matches Existing Object - Json submit endpoint #340
Comments
There is a workaround — I can locate the past dagster job that sourced your submitted json and then re-run it (e.g. via the dagster dagit UI). However, I recognize that re-submitting is a legitimate use case, so I’d rather change the code to e.g. include a timestamp in the submission so that the resulting payload has a unique checksum. |
re-submission of "same" changes is a valid use case closes #340
re-submission of "same" changes is a valid use case closes #340
re-submission of "same" changes is a valid use case closes #340
Thank you @dwinston apologies for not reviewing this sooner. I attempted to resubmit a json just now that I had previously submitted and then deleted from MongoDb weeks ago and I get the same error:
|
I'm posting this comment to confirm that the production Runtime API is currently at commit: 0c69b60 That commit comes after (on the |
plan: add an optional timestamp kwarg to nmdc-runtime/nmdc_runtime/util.py Line 85 in 21393c5
str of the current time to the invocation at
|
When trying to re-submit a JSON that was previously deleted from production, I encounter the error:
detail": "provided checksum matches existing object: {'checksums.type': 'sha256', 'checksums.checksum': '9eaece59f58b4d58008f2efcf556736c0f5a0cbe16311206d7f6b127e9cfc580'}
The text was updated successfully, but these errors were encountered: