Skip to content

Close old compacted ledger when open new. - #13210

Merged
eolivelli merged 2 commits into
apache:masterfrom
Technoboy-:close-old-compacted-ledger
Dec 13, 2021
Merged

Close old compacted ledger when open new.#13210
eolivelli merged 2 commits into
apache:masterfrom
Technoboy-:close-old-compacted-ledger

Conversation

@Technoboy-

@Technoboy- Technoboy- commented Dec 9, 2021

Copy link
Copy Markdown
Contributor

Motivation

This is related #12522 .
#12522 has make CompactedTopicImpl#newCompactedLedger to return the old compacted ledger, so it needs to close the old ledgers when open new.

If we don't close the old ledgers, the old ledger may keep open, and cause the resources leak.

Documentation

  • no-need-doc

@Technoboy- Technoboy- self-assigned this Dec 9, 2021
@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Dec 9, 2021
@Technoboy-

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

@eolivelli eolivelli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@eolivelli
eolivelli merged commit 07ef923 into apache:master Dec 13, 2021
eolivelli pushed a commit that referenced this pull request Dec 13, 2021
@eolivelli eolivelli added cherry-picked/branch-2.9 Archived: 2.9 is end of life release/2.9.2 and removed release/2.9.1 cherry-picked/branch-2.9 Archived: 2.9 is end of life labels Dec 13, 2021
eolivelli pushed a commit that referenced this pull request Dec 13, 2021
@eolivelli eolivelli added cherry-picked/branch-2.9 Archived: 2.9 is end of life release/2.9.1 and removed release/2.9.2 labels Dec 15, 2021
fxbing pushed a commit to fxbing/pulsar that referenced this pull request Dec 19, 2021
zymap pushed a commit that referenced this pull request Dec 23, 2021
@zymap zymap added the cherry-picked/branch-2.8 Archived: 2.8 is end of life label Dec 23, 2021
@Technoboy-
Technoboy- deleted the close-old-compacted-ledger branch August 10, 2022 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/broker cherry-picked/branch-2.8 Archived: 2.8 is end of life cherry-picked/branch-2.9 Archived: 2.9 is end of life doc-not-needed Your PR changes do not impact docs release/2.8.3 release/2.9.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants