ayumiono opened a new issue #7369:
URL: https://github.com/apache/skywalking/issues/7369


   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
   - Which version of SkyWalking, OS, and JRE?
   skywalking 8.3.0
   - Which company or project?
   
   - What happened?
   
   i got 7 indice for 
skywalking_instance_traffic:skywalking_instance_traffci-20210720, 
skywalking_instance_trfffic-20210721...., skywalking-instance_traffic-20210726,
   
   and i want update a instance properties which id is  
"bXlzdGVlbC1kaS1kYXNoYm9hcmQtbxxx.1_bXlzdGVlbC1kaS1kYXNoYm9hcmQtbWd0LTU3xxxWI4NGYtOWJ0eDlAMTAuODMuMy4xNg=="
 
   
   what i expect is the doc in the latest indice 
(skywalking-instance_traffic-20210726) updated
   
   but what actually happened is some other older indice rather than the latest 
indice (skywalking-instance_traffic-20210726) updated.
   
   i read the source code, find that instance_metrics doc's id does not contain 
any time_bucket info, and when search by instance_traffic/ids,the ES return 
multiple docs with the same id. and on the same time, the 
MetricsPersistentWorker.loadFromStorage will map these docs with the same id 
into just one k/v, means the older one may override the newest one,that lead to 
we cannot update  the newest instance_traffic docs
   
   is it a bug? thx
   
   
   ___
   ### 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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to