-
Notifications
You must be signed in to change notification settings - Fork 1.1k
git notes
operation times out
#2082
Comments
git notes
operation can time out fairly easilygit notes
operation times out
I can't see it would deadlock, given that only |
@squaremo can you reproduce? Did you get a goroutine listing? |
No, and unfortunately it would be tricky to get a useful stack dump. This happened in our dev environment, and it would be necessary to signal it while it was in the middle of the operation. My guess right now is that it's from having a large (larger than the starting size of the buffer?) output. The output on stdout of |
I'll try to write a main() to reproduce it. |
If you compile this: https://gist.github.com/squaremo/68f75a34768195e79333eb338b329f8d Further note: if you pass |
Stack dump:
|
My reading of this is that the Why does it use |
To recover the set of events represented by a sync, fluxd looks at the notes made in git. With a large enough git repo, this can take longer than the (pretty generous) default git timeout.Scratch that: it takes a fraction of a second to run that command, in the pod. I suspect instead there is a deadlock in execGitCmd that leads to the operation timing out -- the problem started on the day that #2054 was merged :-S
The text was updated successfully, but these errors were encountered: