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 2019/09/24 09:56:05 UTC

[GitHub] [skywalking] YoungHu opened a new issue #3512: "id is not in cache and persistent storage" error

YoungHu opened a new issue #3512: "id is not in cache and persistent storage" error
URL: https://github.com/apache/skywalking/issues/3512
 
 
   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [x] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Bug
   - Which version of SkyWalking, OS and JRE?
   6.4.0 Linux with JRE 8
   
   - Which company or project?
   
   - What happen?
   occur "id is not in cache and persistent storage" error when endpoint_inventory index have more than one record with same sequence.
   after check the source code, find the problem at `if (response.getHits().totalHits == 1)`, if want to check whether the result just return one hit or not, we should use `if (response.getHits().getHits().length == 1)`
   ___
   ### Requirement or improvement
   - check the real hits by use `if (response.getHits().getHits().length == 1)`

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


With regards,
Apache Git Services