-
Notifications
You must be signed in to change notification settings - Fork 481
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
handler, s3store: Fix data race problems #1199
Conversation
First CI run finds four issues: github.com/tus/tusd/v2/pkg/handler:
github.com/tus/tusd/v2/pkg/s3store:
|
The data race belonging to the logger setup, as mentioned in #1192 (comment) by @wongak, is not reported by the test suite. Another thing we have to look into separately. |
CI is happy now and I also do not get any warnings when running |
As discovered in #1192, Go's data race detector reports a number of issues in tusd when running its tests and as a standalone process.
In this PR, we investigate and try to address them.