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

Clear schedulers for ttl upon clear of replicated-map otherwise memory leaks #13416

Conversation

ahmetmircik
Copy link
Member

@ahmetmircik ahmetmircik commented Jul 6, 2018

closes #13409

@ahmetmircik ahmetmircik added this to the 3.10.3 milestone Jul 6, 2018
@ahmetmircik ahmetmircik requested review from eminn, mmedenjak and Donnerbart and removed request for eminn July 6, 2018 12:12
storage.clear();
storage.incrementVersion();
getStats().incrementOtherOperations();
clearInternal();
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, is this missing the .incrementVersion() call?

Copy link
Member Author

Choose a reason for hiding this comment

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

oops! nice catch. fixed.

@ahmetmircik ahmetmircik force-pushed the fix/3.10.3/replicatedMapClearSchedular branch from 55e7ccf to a2bcdfd Compare July 6, 2018 12:20
Copy link
Contributor

@mmedenjak mmedenjak left a comment

Choose a reason for hiding this comment

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

Nice and simple! 🎉

@ahmetmircik ahmetmircik merged commit 3ce5bdc into hazelcast:maintenance-3.x Jul 6, 2018
@ahmetmircik ahmetmircik deleted the fix/3.10.3/replicatedMapClearSchedular branch July 6, 2018 13:01
@mmedenjak mmedenjak added the Source: Internal PR or issue was opened by an employee label Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants