You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "nathluu (via GitHub)" <gi...@apache.org> on 2023/05/25 08:06:34 UTC

[GitHub] [pulsar] nathluu opened a new issue, #20399: [Bug] AutoClusterFailover method probeAvailable() always return true if the brokers are behind loadbalancer

nathluu opened a new issue, #20399:
URL: https://github.com/apache/pulsar/issues/20399

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Version
   
   OS: Linux
   Pulsar client version: 2.11.1
   Pulsar broker version: 2.9.3
   
   
   ### Minimal reproduce step
   
   1/ Deploy two pulsar broker clusters with geo-replication enabled on Kubernetes (AKS) with Istio
   2/ Configure Istio virtual service to expose pulsar-proxy service (load balancer)
   3/ A consumer utilizes auto-failover pulsar client to consume messages from pulsar brokers
   4/ While the consumer is consuming from the primary broker, scale down pulsar-proxy service on the primary broker
   
   
   ### What did you expect to see?
   
   The consumer should consume from secondary broker
   
   ### What did you see instead?
   
   The consumer did not switch to the secondary broker as the probeAvailable() method returns true because the load balancer is still up
   
   ### Anything else?
   
   I think it would be better if we change to call pulsar admin API for probeAvailable() method instead of socket.connect()
   
   ### 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] github-actions[bot] commented on issue #20399: [Bug] AutoClusterFailover method probeAvailable() always return true if the brokers are behind loadbalancer

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #20399:
URL: https://github.com/apache/pulsar/issues/20399#issuecomment-1605823471

   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