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

Delay between minting a DOI and query the DOI #7

Open
taojing2002 opened this issue Nov 20, 2024 · 1 comment
Open

Delay between minting a DOI and query the DOI #7

taojing2002 opened this issue Nov 20, 2024 · 1 comment
Assignees
Milestone

Comments

@taojing2002
Copy link
Contributor

Fianna reported that a document of a DOI could not be update after minting. The issue root from the delay between the minting a DOI and the DOI is searchable. OSTI folks said the delay is un-avoidable and delay is down to about 1 second from 5 seconds.

Since the gestStatus method needs to query OSTI, we are going to add a waiting time (by a loop with limited and configurable iterations) in this method to wait until the DOI is searchable.

Note: The delay happens not only in the minting process but also the update of the DOI document. Our code heavily depends on the query result to issue different commands. So the race condition will get worse.

@taojing2002 taojing2002 added this to the Release 2.0.0 milestone Nov 20, 2024
@taojing2002 taojing2002 self-assigned this Nov 20, 2024
@taojing2002
Copy link
Contributor Author

taojing2002 commented Nov 20, 2024

This only happens on v2. But we need to confirm that v1 doesn't have the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant