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 2022/09/28 17:24:40 UTC
[GitHub] [pulsar] syhily opened a new issue, #17876: [Bug] TransactionCoordinatorClientImpl.start() hangs forever
syhily opened a new issue, #17876:
URL: https://github.com/apache/pulsar/issues/17876
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### Version
Pulsar Java Client 2.10.0
Pulsar 2.10.0
### Minimal reproduce step
Enable the transaction in Pulsar 2.10.0 docker. Create a `PulsarClient`. Then we may see the `TransactionCoordinatorClientImpl.start()` hangs and block the whole process.
### What did you expect to see?
`TransactionCoordinatorClientImpl.start()` shouldn't wait for a long time.
### What did you see instead?
`TransactionCoordinatorClientImpl.start()` block the execution and nothing has showed.
<img width="1063" alt="image" src="https://user-images.githubusercontent.com/1761698/192848499-62a664f5-f594-4b14-b5c5-c467f9906e87.png">
### Anything else?
The jstack file.
[195.log](https://github.com/apache/pulsar/files/9667518/195.log)
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
--
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.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] syhily commented on issue #17876: [Bug] TransactionCoordinatorClientImpl.start() hangs forever
Posted by GitBox <gi...@apache.org>.
syhily commented on issue #17876:
URL: https://github.com/apache/pulsar/issues/17876#issuecomment-1261957247
The detailed test log is here: [mvn-1.log](https://github.com/apache/pulsar/files/9672766/mvn-1.log).
--
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.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] syhily commented on issue #17876: [Bug] TransactionCoordinatorClientImpl.start() hangs forever
Posted by GitBox <gi...@apache.org>.
syhily commented on issue #17876:
URL: https://github.com/apache/pulsar/issues/17876#issuecomment-1261745882
@congbobo184 Can you help me find out the real cause.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] github-actions[bot] commented on issue #17876: [Bug] TransactionCoordinatorClientImpl.start() hangs forever
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #17876:
URL: https://github.com/apache/pulsar/issues/17876#issuecomment-1296450296
The issue had no activity for 30 days, mark with Stale label.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] codelipenghui commented on issue #17876: [Bug] TransactionCoordinatorClientImpl.start() hangs forever
Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #17876:
URL: https://github.com/apache/pulsar/issues/17876#issuecomment-1296510453
@congbobo184 I think we should provide clear information while the transaction coordinator does not enable it on the broker side. It will help users to understand the problem quickly.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] congbobo184 commented on issue #17876: [Bug] TransactionCoordinatorClientImpl.start() hangs forever
Posted by GitBox <gi...@apache.org>.
congbobo184 commented on issue #17876:
URL: https://github.com/apache/pulsar/issues/17876#issuecomment-1263033517
@syhily What users should care about is whether the transaction is fully enabled, rather than using it when it is not fully enabled, isn't it? If there are no other issues, I will close this issue
--
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.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] congbobo184 commented on issue #17876: [Bug] TransactionCoordinatorClientImpl.start() hangs forever
Posted by GitBox <gi...@apache.org>.
congbobo184 commented on issue #17876:
URL: https://github.com/apache/pulsar/issues/17876#issuecomment-1262400424
Hi @syhily
TransactionCoordinator loadBalance base on partition topic `persistent://pulsar/system/transaction_coordinator_assign` , so when starting transaction client, make sure that partition topic `persistent://pulsar/system/transaction_coordinator_assign` has been created. Otherwise `persistent://pulsar/system/transaction_coordinator_assign` will be automatically created as Non-partition topic, Pulsar Transaction dnot support Non-partition `persistent://pulsar/system/transaction_coordinator_assign`
--
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.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] congbobo184 commented on issue #17876: [Bug] TransactionCoordinatorClientImpl.start() hangs forever
Posted by GitBox <gi...@apache.org>.
congbobo184 commented on issue #17876:
URL: https://github.com/apache/pulsar/issues/17876#issuecomment-1335248660
https://github.com/apache/pulsar/pull/18276 fix this problem, so close this issue
--
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.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] github-actions[bot] commented on issue #17876: [Bug] TransactionCoordinatorClientImpl.start() hangs forever
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #17876:
URL: https://github.com/apache/pulsar/issues/17876#issuecomment-1334669642
The issue had no activity for 30 days, mark with Stale label.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] congbobo184 closed issue #17876: [Bug] TransactionCoordinatorClientImpl.start() hangs forever
Posted by GitBox <gi...@apache.org>.
congbobo184 closed issue #17876: [Bug] TransactionCoordinatorClientImpl.start() hangs forever
URL: https://github.com/apache/pulsar/issues/17876
--
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.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] syhily commented on issue #17876: [Bug] TransactionCoordinatorClientImpl.start() hangs forever
Posted by GitBox <gi...@apache.org>.
syhily commented on issue #17876:
URL: https://github.com/apache/pulsar/issues/17876#issuecomment-1262659127
I don't think the end user should care about these system topic design. This should be a system topic initialization issue.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] syhily commented on issue #17876: [Bug] TransactionCoordinatorClientImpl.start() hangs forever
Posted by GitBox <gi...@apache.org>.
syhily commented on issue #17876:
URL: https://github.com/apache/pulsar/issues/17876#issuecomment-1261741658
Another jstack file.
[210.log](https://github.com/apache/pulsar/files/9670957/210.log)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org