Edisonboy opened a new issue #1769: Empty poll in haClient when it is master 
node
URL: https://github.com/apache/rocketmq/issues/1769
 
 
   Excuse me, i have a question in code where in the class of HaClient.
   If it will be empty polling when the master broker run it?
   
   `
   
           public void run() {
   
               log.info(this.getServiceName() + " service started");
               while (!this.isStopped()) {
                   try {
                       if (this.connectMaster()) {
                               ................
                       } else {
                           this.waitForRunning(1000 * 5);
                       }
                   } catch (Exception e) {
                       log.warn(this.getServiceName() + " service has 
exception. ", e);
                       this.waitForRunning(1000 * 5);
                   }
               }
   
               log.info(this.getServiceName() + " service end");
           }
   `

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to