You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/08/19 03:31:58 UTC

[GitHub] [apisix] frank0417 opened a new issue #2076: bug: service discovery duplicate request service information in Eureka

frank0417 opened a new issue #2076:
URL: https://github.com/apache/apisix/issues/2076


   ### Issue description
   
   Service discovery duplicate request service information in Eureka
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):
   * OS:linux centos
   
   ### Minimal test code / Steps to reproduce the issue
   1.set enable_dev_mode:false
   2.service discovery center:eureka
   
   ### What's the actual result? (including assertion message & call stack if applicable)
   
   multiple workers execute repeat fetch_full_registry
   
   ### What's the expected result?
   only one  


----------------------------------------------------------------
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] [apisix] spacewander closed issue #2076: bug: service discovery duplicate request service information in Eureka

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #2076:
URL: https://github.com/apache/apisix/issues/2076


   


----------------------------------------------------------------
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] [apisix] frank0417 commented on issue #2076: bug: service discovery duplicate request service information in Eureka

Posted by GitBox <gi...@apache.org>.
frank0417 commented on issue #2076:
URL: https://github.com/apache/apisix/issues/2076#issuecomment-676830995


   Each worker will pull the service information. If a worker pulls the service information, it needs to be shared by all workers. Otherwise, some workers will not be able to obtain the service information. If it is changed, the global cache is required
   
   


----------------------------------------------------------------
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] [apisix] spacewander commented on issue #2076: bug: service discovery duplicate request service information in Eureka

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #2076:
URL: https://github.com/apache/apisix/issues/2076#issuecomment-765249902


   Currently all the workers will fetch service info from Eureka.


----------------------------------------------------------------
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] [apisix] frank0417 commented on issue #2076: bug: service discovery duplicate request service information in Eureka

Posted by GitBox <gi...@apache.org>.
frank0417 commented on issue #2076:
URL: https://github.com/apache/apisix/issues/2076#issuecomment-675831504


   add ngx.worker.id()==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