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

Cancel producer sendtimeout task after creation failure #8497

Merged
merged 1 commit into from
Nov 10, 2020

Conversation

hrsakai
Copy link
Contributor

@hrsakai hrsakai commented Nov 10, 2020

Motivation

SendTimeout task is being started in the ProducerImpl constructor though it is not being cancelled if the producer creation fails, leaving active ref to that object.
This problem looks like a problem similar to #5204.

@hrsakai hrsakai added type/bug The PR fixed a bug or issue reported a bug area/client release/2.6.3 labels Nov 10, 2020
@hrsakai hrsakai added this to the 2.7.0 milestone Nov 10, 2020
@hrsakai hrsakai self-assigned this Nov 10, 2020
@sijie sijie merged commit 73b4c3d into apache:master Nov 10, 2020
@hrsakai hrsakai deleted the cleanup-producer-task branch November 10, 2020 22:52
codelipenghui pushed a commit that referenced this pull request Nov 11, 2020
### Motivation
SendTimeout task is being started in the ProducerImpl constructor though it is not being cancelled if the producer creation fails, leaving active ref to that object.
This problem looks like a problem similar to #5204.

(cherry picked from commit 73b4c3d)
@codelipenghui
Copy link
Contributor

cherry-picked to branch-2.6

codelipenghui pushed a commit to streamnative/pulsar-archived that referenced this pull request Nov 13, 2020
### Motivation
SendTimeout task is being started in the ProducerImpl constructor though it is not being cancelled if the producer creation fails, leaving active ref to that object.
This problem looks like a problem similar to apache#5204.

(cherry picked from commit 73b4c3d)
(cherry picked from commit 85db6b6)
flowchartsman pushed a commit to flowchartsman/pulsar that referenced this pull request Nov 17, 2020
### Motivation
SendTimeout task is being started in the ProducerImpl constructor though it is not being cancelled if the producer creation fails, leaving active ref to that object.
This problem looks like a problem similar to apache#5204.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/client release/2.6.3 type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants