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 2019/11/04 11:59:31 UTC

[GitHub] [pulsar] tuteng opened a new pull request #5557: Fix api healthcheck

tuteng opened a new pull request #5557: Fix api healthcheck
URL: https://github.com/apache/pulsar/pull/5557
 
 
   
   
   Fixes https://github.com/apache/pulsar/issues/4790
   
   
   Master Issue: https://github.com/apache/pulsar/issues/4790
   
   ### Motivation
   Currently, when the brokerDeleteInactiveTopicsEnabled policy is enabled, the topic pulsar/standalone/127.0.0.1:8080/healthcheck will be deleted periodically, resulting in inconsistent schema versions. Throwing exceptions of schema badversion.
   ### Modifications
   
   * Add a schema class to support not saving schemaInfo.
   
   ### Verifying this change
   
   * Add Unit Test
   
   ```
   ./bin/pulsar standalone -nss -a 127.0.0.1
   curl -v http://127.0.0.1:8080/admin/v2/brokers/health
   
   # Waiting for more than 60 seconds, waiting for the topic pulsar/standalone/127.0.0.1:8080/healthcheck to be deleted
   
   curl -v http://127.0.0.1:8080/admin/v2/brokers/health
   ```

----------------------------------------------------------------
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


With regards,
Apache Git Services