srotya / sidewinder

Fast and scalable timeseries database
http://sidewinder.srotya.com
Apache License 2.0
25 stars 10 forks source link

Data not changing as time progresses in v0.2.2 #131

Closed ambud closed 6 years ago

ambud commented 6 years ago

Version:0.2.2

Description: Even though time changes data doesn't change in charts and panels in grafana, there is a selector bug in iterators where time iterator is moved but data iterator is not moved when predicate gets applied causing this behavior.

Bugs: https://github.com/srotya/sidewinder/blob/development/core/src/main/java/com/srotya/sidewinder/core/storage/Series.java#L209 https://github.com/srotya/sidewinder/blob/development/core/src/main/java/com/srotya/sidewinder/core/storage/FieldReaderIterator.java#L59 https://github.com/srotya/sidewinder/blob/development/core/src/main/java/com/srotya/sidewinder/core/storage/FieldReaderIterator.java#L71