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 2021/03/22 11:08:06 UTC
[GitHub] [skywalking] xuanyu66 opened a new issue #6598: getAllService() return duplicated service
xuanyu66 opened a new issue #6598:
URL: https://github.com/apache/skywalking/issues/6598
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [X] Question or discussion
- [ ] Bug
- [ ] Requirement
- [ ] Feature or performance improvement
___
### Question
- What do you want to know?
We found getAllService() return duplicated service?
I want to know how skywalking Guarantee ES has unique ServiceTraffic Data.
getAllService() will query All index which has prefix "service_traffic".
--
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 #6598: getAllService() return duplicated service
Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6598:
URL: https://github.com/apache/skywalking/issues/6598#issuecomment-804090959
The simple version is, OAP query the storage first, if not found, it inserts a new one. If somehow ES server is not fully functional, such as a shard is not working, you will face this case.
We could simply do `distinct` in the OAP query and pretend this never happens, but considering the reality, we don't. Because when you see this, it means your ES server is not working well as you thought, some metrics are not accurate too.
--
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] xuanyu66 commented on issue #6598: getAllService() return duplicated service
Posted by GitBox <gi...@apache.org>.
xuanyu66 commented on issue #6598:
URL: https://github.com/apache/skywalking/issues/6598#issuecomment-804080357
I searched duplicated service, only found #1124.
--
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 #6598: getAllService() return duplicated service
Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6598:
URL: https://github.com/apache/skywalking/issues/6598#issuecomment-804011197
Please search before submitting a new issue.
--
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 #6598: getAllService() return duplicated service
Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #6598:
URL: https://github.com/apache/skywalking/issues/6598
--
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