-
Notifications
You must be signed in to change notification settings - Fork 182
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
go race reports quite a few issues at startup #4088
Comments
The help flag is configured automatically by default already. We don't need to redo that for every single service. This also addresses one of the finding of "go race" (owncloud#4088)
The help flag is configured automatically by default already. We don't need to redo that for every single service. This also addresses one of the finding of "go race" (owncloud#4088)
cs3org/reva#3377 should remove at least two of the races |
Investigate what race conditions are still exists, fix those which are easy to fix, for all the others create tickets |
micro/go-micro#2659 Fix PR for go-micro here, removing this unmasked 2 other race condition, one is in urfave/cli (v2.25.7) and the other one in thejerf/suture(v4.0.2). Looking into the first at the moment and waiting for the go-micro cli to pass. |
It looks like the race condition in urfave/cli is not present in its |
Another fix in: cs3org/reva#4250 |
urfave/cli does not seem threadsafe at all, there are no mutexes. Either we completely rework urfave/cli or switch to cobra. see: urfave/cli#1242 @micbar how to proceed? |
They say the application needs to fix the races. |
This is impossible, I have tried, also paired with @rhafer on this. |
Okay, let us discuss in the team. For the moment, let us stop putting efforts into that one. |
Describe the bug
Running ocis with the race detector enable produces quite a few reports at startup:
# go run -race ./ocis/cmd/ocis server
results in:
While not all of the reported things might be causing serious problems. We should take a closer look and fix as many as possilbe.
Tasks:
- urfave/cli- [ ] fix race condition- [ ] bump urfave/cli in (upon new release)- [ ] reva- [ ] ocis- [ ] go-micro- thejerf/suture- [ ] fix race condition- [ ] bump in ocis (upon new release)thejerf/suture does not need fixing, race is completely related to urfave/cli which is unfixable/has no thread safety at all. (see urfave/cli#1242)
The text was updated successfully, but these errors were encountered: