Skip to content

Fix mutex locking around ifname cache#8873

Merged
reimda merged 1 commit intomasterfrom
ifname-mutex-fix
Feb 19, 2021
Merged

Fix mutex locking around ifname cache#8873
reimda merged 1 commit intomasterfrom
ifname-mutex-fix

Conversation

@reimda
Copy link
Copy Markdown
Contributor

@reimda reimda commented Feb 17, 2021

fixes #8842

@reimda reimda requested a review from Hipska February 17, 2021 22:08
Copy link
Copy Markdown
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for the pull request!
🤝 ✒️ Just a reminder that the CLA has not yet been signed, and we'll need it before merging. Please sign the CLA when you get a chance, then post a comment here saying !signed-cla

@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Feb 17, 2021
@reimda
Copy link
Copy Markdown
Contributor Author

reimda commented Feb 18, 2021

Here are the packages from CI for this PR in case they make testing easier for you. Thanks!

@Hipska Hipska added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Feb 19, 2021
// Cache it, then signal any other waiting requests for this agent
// and clean up
d.rwLock.Lock()
// snmp success. Cache response, then signal any other waiting
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: any reason for having the two spaces after the period?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I learned to type that's what they taught in school. I'm aware that single space is more common now but it's a habit.

See https://en.wikipedia.org/wiki/Sentence_spacing

@reimda reimda merged commit 4d61935 into master Feb 19, 2021
@reimda reimda deleted the ifname-mutex-fix branch February 19, 2021 18:31
@sspaink
Copy link
Copy Markdown
Contributor

sspaink commented Feb 19, 2021

!signed-cla

Copy link
Copy Markdown
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤝 ✅ CLA has been signed. Thank you!

arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix pr to fix corresponding bug ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IfName plugin causes Telegraf to crash

4 participants