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

[Pulsar Transaction] Handle TC low water mark on pending ack handle. #9722

Merged

Conversation

congbobo184
Copy link
Contributor

@congbobo184 congbobo184 commented Feb 25, 2021

Motivation

Use the TC low watermark to clean the useless transaction individual acks such as the client uses a committed/aborted transaction to ack messages, the transaction can't commit or abort again, so the ongoing acks of the transaction can't be removed.

implement

end sub with transaction coordinator lowWaterMark

Verifying this change

Add the tests for it

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

@congbobo184
Copy link
Contributor Author

/pulsarbot run-failure-checks

1 similar comment
@congbobo184
Copy link
Contributor Author

/pulsarbot run-failure-checks

@codelipenghui codelipenghui added this to the 2.8.0 milestone Mar 1, 2021
@codelipenghui codelipenghui changed the title [Pulsar Transaction] Transaction buffer lowWaterMark implementation. [Pulsar Transaction] Handle TC low water mark on pending ack handle. Mar 1, 2021
@codelipenghui codelipenghui merged commit 4e22ef3 into apache:master Mar 1, 2021
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

2 participants