You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/09/22 07:59:09 UTC

[GitHub] [skywalking] a6205206z opened a new issue #5535: instance name repeat with es

a6205206z opened a new issue #5535:
URL: https://github.com/apache/skywalking/issues/5535


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [x] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   
   ___
   ### Bug
   - If index ('instance_traffic') is sharded by date, like this (instance_traffic-20200916 or instance_traffic-20200917), the instance name will be repeat.
   
   > the code in MetadataQueryEsDAO.java at line 192
   
   ```java
           SearchResponse response = getClient().search(InstanceTraffic.INDEX_NAME, sourceBuilder);
   
           List<ServiceInstance> serviceInstances = new ArrayList<>();
   ```
   
   - Which company or project?
   
   - What happened?
   If possible, provide a way to reproduce the error. e.g. demo application, component version.
   
   ___
   ### Requirement or improvement
   - Please describe your requirements or improvement suggestions.
   


----------------------------------------------------------------
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] [skywalking] wu-sheng closed issue #5535: instance name repeat with es

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #5535:
URL: https://github.com/apache/skywalking/issues/5535


   


----------------------------------------------------------------
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] [skywalking] a6205206z commented on issue #5535: instance name repeat with es

Posted by GitBox <gi...@apache.org>.
a6205206z commented on issue #5535:
URL: https://github.com/apache/skywalking/issues/5535#issuecomment-698197226


   > If I deploy the OAP server more than 1,this question will arise, that's the reason?
   > Looking forward to your answer, and thanks.
   
   I deploy 3 OAP server in my cluster, and each service has 3 identical instances.


----------------------------------------------------------------
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] [skywalking] wu-sheng commented on issue #5535: instance name repeat with es

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5535:
URL: https://github.com/apache/skywalking/issues/5535#issuecomment-696602165


   It should be not. Once the instance added, it wouldn't be added again. Untill TTL timer removed it. This duplicate name has been reported in the service level, for me, it looks like some shards are not available somehow, then the OAP core rewrited it again to another index(base on time).


----------------------------------------------------------------
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] [skywalking] wu-sheng commented on issue #5535: instance name repeat with es

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5535:
URL: https://github.com/apache/skywalking/issues/5535#issuecomment-698228402


   I think you don't set up the cluster coordinator, but just deploying 3 nodes separately.


----------------------------------------------------------------
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] [skywalking] wu-sheng closed issue #5535: instance name repeat with es

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #5535:
URL: https://github.com/apache/skywalking/issues/5535


   


----------------------------------------------------------------
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] [skywalking] wu-sheng commented on issue #5535: instance name repeat with es

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5535:
URL: https://github.com/apache/skywalking/issues/5535#issuecomment-698228402


   I think you don't set up the cluster coordinator, but just deploying 3 nodes separately.


----------------------------------------------------------------
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] [skywalking] wu-sheng commented on issue #5535: instance name repeat with es

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5535:
URL: https://github.com/apache/skywalking/issues/5535#issuecomment-696602165


   It should be not. Once the instance added, it wouldn't be added again. Untill TTL timer removed it. This duplicate name has been reported in the service level, for me, it looks like some shards are not available somehow, then the OAP core rewrited it again to another index(base on time).


----------------------------------------------------------------
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] [skywalking] a6205206z commented on issue #5535: instance name repeat with es

Posted by GitBox <gi...@apache.org>.
a6205206z commented on issue #5535:
URL: https://github.com/apache/skywalking/issues/5535#issuecomment-698194660






----------------------------------------------------------------
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] [skywalking] a6205206z commented on issue #5535: instance name repeat with es

Posted by GitBox <gi...@apache.org>.
a6205206z commented on issue #5535:
URL: https://github.com/apache/skywalking/issues/5535#issuecomment-698194660


   If I deploy the OAP server more than 1,this question  will arise, that's the reason?
   Looking forward to your answer, and thanks.


----------------------------------------------------------------
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] [skywalking] HackerRookie commented on issue #5535: instance name repeat with es

Posted by GitBox <gi...@apache.org>.
HackerRookie commented on issue #5535:
URL: https://github.com/apache/skywalking/issues/5535#issuecomment-754333167


   @a6205206z Do you solved it?


----------------------------------------------------------------
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] [skywalking] a6205206z commented on issue #5535: instance name repeat with es

Posted by GitBox <gi...@apache.org>.
a6205206z commented on issue #5535:
URL: https://github.com/apache/skywalking/issues/5535#issuecomment-698255160


   thanks, I use k8s coordinator,but I config the the same SKYWALKING_COLLECTOR_UID, I think this is the reason.
   
   thanks again.
   


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