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 the V2 AddRequest object leak issue #3323

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

zymap
Copy link
Member

@zymap zymap commented Jun 9, 2022


Motivation

If the request is a V2 add request, we retained the data's
reference when creating the AddRequest object. To avoid the
object leak, we need to release the reference if we met
any errors before sending it.

---

**Motivation**

If the request is a V2 add request, we retained the data's
reference when creating the AddRequest object. To avoid the
object leak, we need to release the reference if we met
any errors before sending it.
@hangc0276
Copy link
Contributor

Great Job!

@zymap zymap merged commit f887f8d into apache:master Jun 13, 2022
zymap added a commit that referenced this pull request Jun 13, 2022
---

**Motivation**

If the request is a V2 add request, we retained the data's
reference when creating the AddRequest object. To avoid the
object leak, we need to release the reference if we met
any errors before sending it.

(cherry picked from commit f887f8d)
zymap added a commit that referenced this pull request Jun 13, 2022
---

**Motivation**

If the request is a V2 add request, we retained the data's
reference when creating the AddRequest object. To avoid the
object leak, we need to release the reference if we met
any errors before sending it.

(cherry picked from commit f887f8d)
@zymap
Copy link
Member Author

zymap commented Jun 13, 2022

cherry-picked to branch-4.14 and branch-4.15

lhotari pushed a commit to datastax/bookkeeper that referenced this pull request Aug 9, 2022
---

**Motivation**

If the request is a V2 add request, we retained the data's
reference when creating the AddRequest object. To avoid the
object leak, we need to release the reference if we met
any errors before sending it.

(cherry picked from commit f887f8d)
(cherry picked from commit 5370d63)
Ghatage pushed a commit to sijie/bookkeeper that referenced this pull request Jul 12, 2024
---

**Motivation**

If the request is a V2 add request, we retained the data's
reference when creating the AddRequest object. To avoid the
object leak, we need to release the reference if we met
any errors before sending it.
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

4 participants