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

ARTEMIS-4723 Avoid objects left on ThreadLocal from OrderedExecutorFactory #4880

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

clebertsuconic
Copy link
Contributor

co-authored: Clebert Suconic

// We don't have an option where we could do an immediate timeout
// I just need to make one roundtrip to make sure there's no pending tasks on the loop
// for that I ellected one second
flush(timeout, unit);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was for tests and it was still causing issues anyway...

so, time to go !!! more issues than benefits

@clebertsuconic
Copy link
Contributor Author

@cardamon notice I'm keeping you as the author on the commit. as you discovered the issue.

I went further and just removed the usage. if all my tests are good I will merge this.

@clebertsuconic clebertsuconic force-pushed the fix-leak branch 7 times, most recently from 4db3759 to 04ce261 Compare April 17, 2024 03:02
@cardamon
Copy link

@cardamon notice I'm keeping you as the author on the commit. as you discovered the issue.

I went further and just removed the usage. if all my tests are good I will merge this.

Thanks!

@clebertsuconic
Copy link
Contributor Author

even thought I wanted to get rid of the shutdown.. that represented some semantic change.. and it's impossible to measure consequences. I will have to keep the behaviour to avoid breaking use cases and causing unexpected issues.

@clebertsuconic clebertsuconic force-pushed the fix-leak branch 4 times, most recently from 8fe1dee to f72f5b5 Compare April 17, 2024 15:26
…ctory

co-authored: Jakob van Kruijssen <cardamon@gmail.com>
@clebertsuconic clebertsuconic merged commit e4a6687 into apache:main Apr 17, 2024
6 checks passed
@clebertsuconic clebertsuconic deleted the fix-leak branch April 17, 2024 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants