-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Overly-aggressive mutex locks #1122
Comments
@flimzy is right. I updated dependencies just now, then my service get blocked during |
I can confirm this. We updated logrus to 1.5.0 and got a deadlock. Commenting out these lines would resolve the issue: |
Ok, I see two main options, please let me know what you all think or if there are any better options:
Thoughts? |
The upgrade of logrus forces to update the dependency in go module consumers as well. The new locking in logrus 1.5.0 introduces regressions in conjunction to deadlocks when using custom hooks, which is the case in CRI-O for example. Having it point to v1.5.0 here is forcing cri-o to upgrade it as well when we update c/image to 5.3.1. Let's downgrade logrus till sirupsen/logrus#1122 is fixed. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
Im in favor of moving forward since I think the intention of the original PR was the right one. 👍 |
The upgrade of logrus forces to update the dependency in go module consumers as well. The new locking in logrus 1.5.0 introduces regressions in conjunction to deadlocks when using custom hooks, which is the case in CRI-O for example. Having it point to v1.5.0 here is forcing cri-o to upgrade it as well when we update c/image to 5.3.1. Let's downgrade logrus till sirupsen/logrus#1122 is fixed. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
The upgrade of logrus forces to update the dependency in go module consumers as well. The new locking in logrus 1.5.0 introduces regressions in conjunction to deadlocks when using custom hooks, which is the case in CRI-O for example. Having it point to v1.5.0 here is forcing cri-o to upgrade it as well when we update c/buildah to v1.14.6. Let's downgrade logrus till sirupsen/logrus#1122 is fixed. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
The upgrade of logrus forces to update the dependency in go module consumers as well. The new locking in logrus 1.5.0 introduces regressions in conjunction to deadlocks when using custom hooks, which is the case in CRI-O for example. Having it point to v1.5.0 here is forcing cri-o to upgrade it as well when we update c/buildah to v1.14.6. Let's downgrade logrus till sirupsen/logrus#1122 is fixed. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
The upgrade of logrus forces to update the dependency in go module consumers as well. The new locking in logrus 1.5.0 introduces regressions in conjunction to deadlocks when using custom hooks, which is the case in CRI-O for example. Having it point to v1.5.0 here is forcing cri-o to upgrade it as well when we update c/buildah to v1.14.6. Let's downgrade logrus till sirupsen/logrus#1122 is fixed. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
The upgrade of logrus forces to update the dependency in go module consumers as well. The new locking in logrus 1.5.0 introduces regressions in conjunction to deadlocks when using custom hooks, which is the case in CRI-O for example. Having it point to v1.5.0 here is forcing cri-o to upgrade it as well when we update c/buildah to v1.14.6. Let's downgrade logrus till sirupsen/logrus#1122 is fixed. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
The upgrade of logrus forces to update the dependency in go module consumers as well. The new locking in logrus 1.5.0 introduces regressions in conjunction to deadlocks when using custom hooks, which is the case in CRI-O for example. Having it point to v1.5.0 here is forcing cri-o to upgrade it as well when we update c/buildah to v1.14.6. Let's downgrade logrus till sirupsen/logrus#1122 is fixed. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
The upgrade of logrus forces to update the dependency in go module consumers as well. The new locking in logrus 1.5.0 introduces regressions in conjunction to deadlocks when using custom hooks, which is the case in CRI-O for example. Having it point to v1.5.0 here is forcing cri-o to upgrade it as well when we update c/buildah to v1.14.6. Let's downgrade logrus till sirupsen/logrus#1122 is fixed. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
The upgrade of logrus forces to update the dependency in go module consumers as well. The new locking in logrus 1.5.0 introduces regressions in conjunction to deadlocks when using custom hooks, which is the case in CRI-O for example. Having it point to v1.5.0 here is forcing cri-o to upgrade it as well when we update c/buildah to v1.14.6. Let's downgrade logrus till sirupsen/logrus#1122 is fixed. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2274: Downgrade siruspen/logrus from 1.4.2 r=rhatdan a=umohnani8 The upgrade of logrus forces to update the dependency in go module consumers as well. The new locking in logrus 1.5.0 introduces regressions in conjunction to deadlocks when using custom hooks, which is the case in CRI-O for example. Having it point to v1.5.0 here is forcing cri-o to upgrade it as well when we update c/buildah to v1.14.6. Let's downgrade logrus till sirupsen/logrus#1122 is fixed. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com> Co-authored-by: Urvashi Mohnani <umohnani@redhat.com>
Mutex locking added in #1047 is too aggressive.
Re this comment:
Originally posted by @flimzy in #1047 (comment)
More context:
The text was updated successfully, but these errors were encountered: