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

fix: follower should try clean pending closure to avoid memory leak #309

Merged
merged 5 commits into from
Aug 11, 2023

Conversation

absolute8511
Copy link
Contributor

@absolute8511 absolute8511 commented Aug 8, 2023

Change-Id: I24b4cc67d66d7fba3ae4c46480da1af1c769479d

Fix some possible memory leak:

  1. timeout response check should remove map index
  2. follower should check and clean old pending closure since it may changed from leader which will has old data

liwen.2022 added 2 commits August 8, 2023 20:17
Change-Id: I24b4cc67d66d7fba3ae4c46480da1af1c769479d
Change-Id: I7e392579087171574e2a88d6d1cae21f0773510a
Copy link
Contributor

@TheR1sing3un TheR1sing3un left a comment

Choose a reason for hiding this comment

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

LGTM~

@TheR1sing3un
Copy link
Contributor

@RongtongJin Hi, PTAL!

@TheR1sing3un
Copy link
Contributor

@absolute8511 Plz fix the CI. If the reason for the failure has nothing to do with your change, just ignore it, I will fix these flaky test later~

liwen.2022 added 2 commits August 9, 2023 13:32
Change-Id: Ia5bd6255188294bcf73130bee1669b7a646ab0ad
Change-Id: I103c0aad5bcc313cce02e091f7cd11bf4dd0eb32
Change-Id: Id339e9e0d3e697c5bfcd3330c43ea751ed024911
@RongtongJin RongtongJin merged commit 0156c72 into openmessaging:master Aug 11, 2023
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.

3 participants