Skip to content

Fix the V2 AddRequest object leak issue - #3323

Merged
zymap merged 1 commit into
apache:masterfrom
zymap:fix-add-request-leak
Jun 13, 2022
Merged

Fix the V2 AddRequest object leak issue#3323
zymap merged 1 commit into
apache:masterfrom
zymap:fix-add-request-leak

Conversation

@zymap

@zymap zymap commented Jun 9, 2022

Copy link
Copy Markdown
Member

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
Copy Markdown
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

zymap commented Jun 13, 2022

Copy link
Copy Markdown
Member Author

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.

4 participants