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

Race Condition in tough::system_time #590

Closed
ecpullen opened this issue Mar 20, 2023 · 0 comments
Closed

Race Condition in tough::system_time #590

ecpullen opened this issue Mar 20, 2023 · 0 comments

Comments

@ecpullen
Copy link
Contributor

A user downloading targets from a single repository in several threads may experience a race condition which causes

Failed to read target '<>' from repo: System time stepped backward: system time '2023-03-20 15:59:46.093463138 UTC', last known time '2023-03-20 15:59:46.097834959 UTC'

This is caused by a thread updating latest_known_time.json after Utc::now() was called.

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