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/07/19 07:29:50 UTC

[GitHub] [skywalking] weihuaxiong commented on issue #5125: in docker image apache/skywalking-oap-server:8.0.1-es7, env dayStep maybe have a problem

weihuaxiong commented on issue #5125:
URL: https://github.com/apache/skywalking/issues/5125#issuecomment-660602159


   > I can't see the point of your logs. The data has been set back to 20200714. What is the error? What do you expect?
   
   https://github.com/apache/skywalking/blob/8.0.1/oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/base/TimeSeriesUtils.java
   <img width="920" alt="截屏2020-07-19 15 18 05" src="https://user-images.githubusercontent.com/29908290/87869551-44eebb00-c9d3-11ea-9348-fb820119702b.png">
   
   from 2000-01-01 to 2020-07-14 have 7500 days,
   so when dayStep is 10, the index will create 20200704...20200714...20200724.
   
   if dayStep is 9, from 2000-01-01 to 2020-07-11 have 7497 days, 7497%9 = 0
   so the index shoud create 20200702...20200711...20200720.
   
   and if dayStep is 8, from 2000-01-01 to 2020-07-18 have 7504 days, 7504%8 = 0
   so the index shoud create 20200718...20200726...


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