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 2020/06/30 13:02:54 UTC
[GitHub] [pulsar] codelipenghui opened a new issue #7394: Conflict when update partitions on non-persistent topic
codelipenghui opened a new issue #7394:
URL: https://github.com/apache/pulsar/issues/7394
**Describe the bug**
When updating partitions on a non-persistent topic, 409 returned.
**To Reproduce**
Steps to reproduce the behavior:
1. Start standalone
2. Create a non-persistent partitioned topic `bin/pulsar-admin topics create-partitioned-topic non-persistent://public/default/xyz -p 3`
3. Update partitions `bin/pulsar-admin topics update-partitioned-topic non-persistent://public/default/xyz -p 5`
4. Error occurs
**Expected behavior**
The partitions should be updated successfully.
**Additional context**
pulsar 2.6.0
----------------------------------------------------------------
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] aloyszhang commented on issue #7394: Conflict when update partitions on non-persistent topic
Posted by GitBox <gi...@apache.org>.
aloyszhang commented on issue #7394:
URL: https://github.com/apache/pulsar/issues/7394#issuecomment-652952218
@codelipenghui @jiazhai I'll try to fix this problem.
----------------------------------------------------------------
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 issue #7394: Conflict when update partitions on non-persistent topic
Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #7394:
URL: https://github.com/apache/pulsar/issues/7394#issuecomment-652723857
@aloyszhang Thanks for your replay, I think we can return clear information when update partitions on a non-partitioned topic first. Currently, "Reason: Topic is not partitioned topic" is really confusing.
----------------------------------------------------------------
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] aloyszhang commented on issue #7394: Conflict when update partitions on non-persistent topic
Posted by GitBox <gi...@apache.org>.
aloyszhang commented on issue #7394:
URL: https://github.com/apache/pulsar/issues/7394#issuecomment-652142984
@codelipenghui I think partition update is not support for no-persistent topic right now. We should implement it first
----------------------------------------------------------------
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] aloyszhang edited a comment on issue #7394: Conflict when update partitions on non-persistent topic
Posted by GitBox <gi...@apache.org>.
aloyszhang edited a comment on issue #7394:
URL: https://github.com/apache/pulsar/issues/7394#issuecomment-652142984
@codelipenghui I think partition update is not supportted for no-persistent topic right now. We should implement it first
----------------------------------------------------------------
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] merlimat closed issue #7394: Conflict when update partitions on non-persistent topic
Posted by GitBox <gi...@apache.org>.
merlimat closed issue #7394:
URL: https://github.com/apache/pulsar/issues/7394
----------------------------------------------------------------
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] jiazhai commented on issue #7394: Conflict when update partitions on non-persistent topic
Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #7394:
URL: https://github.com/apache/pulsar/issues/7394#issuecomment-652736018
The first step would be fix the error log:
```
20:58:58.450 [AsyncHttpClient-7-1] WARN org.apache.pulsar.client.admin.internal.BaseResource - [http://localhost:8080/admin/v2/non-persistent/public/default/xyz/partitions?updateLocalTopicOnly=false] Failed to perform http post request: javax.ws.rs.ClientErrorException: HTTP 409 Conflict
Topic is not partitioned topic
Reason: Topic is not partitioned topic
```
It is partitioned topic, but non-persistent
----------------------------------------------------------------
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