Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

If all partition messages are sent, cancel the delayed tasks to avoid full gc or oom - #1749

Merged
BewareMyPower merged 1 commit into
streamnative:masterfrom
keyboardbobo:master-1739
Mar 3, 2023
Merged

If all partition messages are sent, cancel the delayed tasks to avoid full gc or oom#1749
BewareMyPower merged 1 commit into
streamnative:masterfrom
keyboardbobo:master-1739

Conversation

@keyboardbobo

Copy link
Copy Markdown
Contributor

If all tasks are sent, cancel the timer tasks to avoid full gc or oom

(If this PR fixes a github issue, please add Fixes #<xyz>.)

Fixes #1739

Motivation

The request.timeout.ms setting is too large to cause broker full gc or oom.

Modifications

If all partition messages are sent, cancel the delayed tasks to avoid full gc or oom

Verifying this change

  • Make sure that the change passes the CI checks.

Documentation

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

If all tasks are sent, cancel the timer tasks to avoid full gc or oom
@keyboardbobo keyboardbobo changed the title Update ReplicaManager.java If all partition messages are sent, cancel the delayed tasks to avoid full gc or oom Mar 1, 2023
@github-actions github-actions Bot added the no-need-doc This pr does not need any document label Mar 1, 2023
@BewareMyPower
BewareMyPower merged commit 7994cd6 into streamnative:master Mar 3, 2023
Demogorgon314 pushed a commit that referenced this pull request Mar 14, 2023
… full gc or oom (#1749)

Fixes #1739

### Motivation

The request.timeout.ms setting is too large to cause broker full gc or oom.

### Modifications

If all partition messages are sent, cancel the delayed tasks to avoid full gc or oom

(cherry picked from commit 7994cd6)
Demogorgon314 pushed a commit that referenced this pull request Mar 18, 2023
… full gc or oom (#1749)

Fixes #1739

### Motivation

The request.timeout.ms setting is too large to cause broker full gc or oom.

### Modifications

If all partition messages are sent, cancel the delayed tasks to avoid full gc or oom

(cherry picked from commit 7994cd6)
BewareMyPower pushed a commit that referenced this pull request Mar 28, 2023
… full gc or oom (#1749)

Fixes #1739

### Motivation

The request.timeout.ms setting is too large to cause broker full gc or oom.

### Modifications

If all partition messages are sent, cancel the delayed tasks to avoid full gc or oom

(cherry picked from commit 7994cd6)
BewareMyPower added a commit to BewareMyPower/kop that referenced this pull request Oct 31, 2023
### Motivation

streamnative#1923 removes the completion for
the produce purgatory in streamnative#1749.

### Modification

Added back the logic to check and complete the produce purgatory.
BewareMyPower added a commit that referenced this pull request Oct 31, 2023
### Motivation

#1923 removes the completion for
the produce purgatory in #1749.

### Modification

Added back the logic to check and complete the produce purgatory.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]The request.timeout.ms setting is too large to cause broker full gc or oom

3 participants