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

Revert #1047 #1131

Merged
merged 1 commit into from
Apr 16, 2020
Merged

Revert #1047 #1131

merged 1 commit into from
Apr 16, 2020

Conversation

markphelps
Copy link
Collaborator

Effectively reverts #1047 to fix #1128, #1120, #1122 as many users are seeing deadlocks after updating to 1.5.0.

The potential reason being is that calling WithFields from within a Hook tries to acquire the same lock, which is already acquired by the hook

This will re-open #1046

@markphelps markphelps merged commit 91ef3ab into master Apr 16, 2020
@markphelps markphelps deleted the revert-1047 branch April 16, 2020 15:30
@thanosp
Copy link

thanosp commented Apr 29, 2020

@markphelps is there a way we can get a new tag with this bugfix please? Or is it advised to downgrade instead?

@dgsb
Copy link
Collaborator

dgsb commented Apr 29, 2020

we should provide a new tag soon

@markphelps
Copy link
Collaborator Author

happy to create one, im assuming v1.5.1 would be most appropriate?

@dgsb
Copy link
Collaborator

dgsb commented Apr 30, 2020

1.6.0 would be more appropriate, I've just merged a small feature in the TextFormatter. We should try to get back on the monthly release. I'll create an issue for the 2020-05 tag release. The first of us who is available to do it should assign to itself for sync up the work between us.

@dgsb
Copy link
Collaborator

dgsb commented May 2, 2020

I've just tagged v1.6.0 on tip of master. @thanosp feel free to upgrade to this one.

@davidsbond davidsbond mentioned this pull request Sep 9, 2020
cgxxv pushed a commit to cgxxv/logrus that referenced this pull request Mar 25, 2022
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

Successfully merging this pull request may close these issues.

Deadlock during Entry.Infof after upgrade to v1.5.0
3 participants