You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "BewareMyPower (via GitHub)" <gi...@apache.org> on 2023/03/21 02:34:09 UTC
[GitHub] [pulsar-client-cpp] BewareMyPower opened a new issue, #224: [Bug] testPartitionedLazyProducerConsumer crashed when deduplication is enabled
BewareMyPower opened a new issue, #224:
URL: https://github.com/apache/pulsar-client-cpp/issues/224
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar-client-cpp/issues) and found nothing similar.
### Version
Pulsar 2.11.0
### Minimal reproduce step
Start the standalone with broker deduplication enabled:
```properties
brokerDeduplicationEnabled=true
```
Then, run the `testPartitionedLazyProducerConsumer`:
```bash
./tests/pulsar-tests --gtest_filter='BasicEndToEndTest.testPartitionedLazyProducerConsumer'
```
### What did you expect to see?
The test passed.
### What did you see instead?
```
2023-03-21 10:31:29.693 INFO [140336589090624] BasicEndToEndTest:513 | res = 204
2023-03-21 10:31:29.694 INFO [140336589090624] ClientConnection:183 | [<none> -> pulsar://localhost:6650] Create ClientConnection, timeout=10000
2023-03-21 10:31:29.694 INFO [140336589090624] ConnectionPool:106 | Created connection for pulsar://localhost:6650
2023-03-21 10:31:29.697 INFO [140336585967360] ClientConnection:381 | [127.0.0.1:38496 -> 127.0.0.1:6650] Connected to broker
2023-03-21 10:31:29.704 INFO [140336585967360] HandlerBase:72 | [persistent://public/default/testPartitionedProducerConsumerLazy-partition-2, ] Getting connection from pool
2023-03-21 10:31:29.916 INFO [140336585967360] ProducerImpl:208 | [persistent://public/default/testPartitionedProducerConsumerLazy-partition-2, ] Created producer on broker [127.0.0.1:38496 -> 127.0.0.1:6650]
2023-03-21 10:31:29.916 INFO [140336589090624] Client:87 | Subscribing on Topic :testPartitionedProducerConsumerLazy
2023-03-21 10:31:29.922 INFO [140336585967360] HandlerBase:72 | [0x7fa2a000aad0, subscription-A, 0] Getting connection from pool
2023-03-21 10:31:29.922 INFO [140336585967360] HandlerBase:72 | [0x7fa2a000b8f0, subscription-A, 1] Getting connection from pool
2023-03-21 10:31:29.923 INFO [140336585967360] HandlerBase:72 | [0x7fa2a001dca0, subscription-A, 2] Getting connection from pool
2023-03-21 10:31:29.979 INFO [140336585967360] ConsumerImpl:262 | [0x7fa2a001dca0, subscription-A, 2] Created consumer on broker [127.0.0.1:38496 -> 127.0.0.1:6650]
2023-03-21 10:31:29.979 INFO [140336585967360] MultiTopicsConsumerImpl:303 | Successfully Subscribed to a single partition of topic in TopicsConsumer. Partitions need to create : 2
2023-03-21 10:31:29.984 INFO [140336585967360] ConsumerImpl:262 | [0x7fa2a000aad0, subscription-A, 0] Created consumer on broker [127.0.0.1:38496 -> 127.0.0.1:6650]
2023-03-21 10:31:29.984 INFO [140336585967360] MultiTopicsConsumerImpl:303 | Successfully Subscribed to a single partition of topic in TopicsConsumer. Partitions need to create : 1
2023-03-21 10:31:29.995 INFO [140336585967360] ConsumerImpl:262 | [0x7fa2a000b8f0, subscription-A, 1] Created consumer on broker [127.0.0.1:38496 -> 127.0.0.1:6650]
2023-03-21 10:31:29.995 INFO [140336585967360] MultiTopicsConsumerImpl:303 | Successfully Subscribed to a single partition of topic in TopicsConsumer. Partitions need to create : 0
2023-03-21 10:31:29.995 INFO [140336585967360] MultiTopicsConsumerImpl:146 | Successfully Subscribed to Topics
2023-03-21 10:31:30.028 INFO [140336589090624] HandlerBase:72 | [persistent://public/default/testPartitionedProducerConsumerLazy-partition-0, ] Getting connection from pool
2023-03-21 10:31:30.034 INFO [140336585967360] ProducerImpl:208 | [persistent://public/default/testPartitionedProducerConsumerLazy-partition-0, ] Created producer on broker [127.0.0.1:38496 -> 127.0.0.1:6650]
Segmentation fault
```
### Anything else?
_No response_
### Are you willing to submit a PR?
- [X] 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-client-cpp] BewareMyPower closed issue #224: [Bug] testPartitionedLazyProducerConsumer crashed when deduplication is enabled
Posted by "BewareMyPower (via GitHub)" <gi...@apache.org>.
BewareMyPower closed issue #224: [Bug] testPartitionedLazyProducerConsumer crashed when deduplication is enabled
URL: https://github.com/apache/pulsar-client-cpp/issues/224
--
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-client-cpp] tisonkun commented on issue #224: [Bug] testPartitionedLazyProducerConsumer crashed when deduplication is enabled
Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on issue #224:
URL: https://github.com/apache/pulsar-client-cpp/issues/224#issuecomment-1587449817
Does this issue fixed by https://github.com/apache/pulsar-client-cpp/pull/225?
--
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-client-cpp] BewareMyPower commented on issue #224: [Bug] testPartitionedLazyProducerConsumer crashed when deduplication is enabled
Posted by "BewareMyPower (via GitHub)" <gi...@apache.org>.
BewareMyPower commented on issue #224:
URL: https://github.com/apache/pulsar-client-cpp/issues/224#issuecomment-1588686637
Yes. 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