massakam opened a new pull request #2542: Fix status code of REST API to get partitioned topic stats URL: https://github.com/apache/incubator-pulsar/pull/2542 ### Motivation If trying to get stats of partitioned topic whose internal topics have not been generated, `500 Internal Server Error` is returned. I think that the status code in this case should be 404 rather than 500. ### Modifications If broker has failed to get stats of the internal topics and its status code is 404, the broker returns 404 error to the client. ### Result Appropriate error response will be returned to the client.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services