You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/01/19 13:43:43 UTC
[GitHub] [pulsar] congbobo184 opened a new pull request #9238: [Transaction] Fix transaction log append sync problem.
congbobo184 opened a new pull request #9238:
URL: https://github.com/apache/pulsar/pull/9238
## Motivation
When the transaction status become aborted or committed the cursor may not delete the position, if not lock transaction operation and add append log position.
If the txnMetaImpl have recycle, the same time we update the txnStatus in this recycle one we will produce the error behavior.
## implement
### Verifying this change
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)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] hangc0276 commented on pull request #9238: [Transaction] Fix transaction log append sync problem.
Posted by GitBox <gi...@apache.org>.
hangc0276 commented on pull request #9238:
URL: https://github.com/apache/pulsar/pull/9238#issuecomment-764679794
/pulsarbot run-failure-checks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] codelipenghui merged pull request #9238: [Transaction] Fix transaction log append sync problem.
Posted by GitBox <gi...@apache.org>.
codelipenghui merged pull request #9238:
URL: https://github.com/apache/pulsar/pull/9238
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] congbobo184 commented on pull request #9238: [Transaction] Fix transaction log append sync problem.
Posted by GitBox <gi...@apache.org>.
congbobo184 commented on pull request #9238:
URL: https://github.com/apache/pulsar/pull/9238#issuecomment-787986055
/pulsarbot run-failure-checks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] congbobo184 removed a comment on pull request #9238: [Transaction] Fix transaction log append sync problem.
Posted by GitBox <gi...@apache.org>.
congbobo184 removed a comment on pull request #9238:
URL: https://github.com/apache/pulsar/pull/9238#issuecomment-787986055
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] congbobo184 removed a comment on pull request #9238: [Transaction] Fix transaction log append sync problem.
Posted by GitBox <gi...@apache.org>.
congbobo184 removed a comment on pull request #9238:
URL: https://github.com/apache/pulsar/pull/9238#issuecomment-787889286
/pulsarbot run-failure-checks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] congbobo184 commented on pull request #9238: [Transaction] Fix transaction log append sync problem.
Posted by GitBox <gi...@apache.org>.
congbobo184 commented on pull request #9238:
URL: https://github.com/apache/pulsar/pull/9238#issuecomment-787889286
/pulsarbot run-failure-checks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] congbobo184 commented on pull request #9238: [Transaction] Fix transaction log append sync problem.
Posted by GitBox <gi...@apache.org>.
congbobo184 commented on pull request #9238:
URL: https://github.com/apache/pulsar/pull/9238#issuecomment-788752389
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] codelipenghui commented on pull request #9238: [Transaction] Fix transaction log append sync problem.
Posted by GitBox <gi...@apache.org>.
codelipenghui commented on pull request #9238:
URL: https://github.com/apache/pulsar/pull/9238#issuecomment-783387600
@congbobo184 Could you please give more details about this issue? If it is the recycling issue, I don't think a lock can fix it, the recycle operation still can get the lock first. If this is a race condition while update the state of the `TxnMetaImpl`, I noticed `TxnMetaImpl` is a thread-safe implementation.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] hangc0276 commented on pull request #9238: [Transaction] Fix transaction log append sync problem.
Posted by GitBox <gi...@apache.org>.
hangc0276 commented on pull request #9238:
URL: https://github.com/apache/pulsar/pull/9238#issuecomment-764679794
/pulsarbot run-failure-checks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org