I am trying to delete the latest sample in timeseries. But, after that, ts.get keeps returning the latest sample that I deleted. The images above explain the problem. Please help!!!
@giangcoi48k thanks for reporting the issue.
It seems like a bug, we’ll push a fix as soon as possible.
See: TS.GET returns the last deleted event · Issue #1204 · RedisTimeSeries/RedisTimeSeries · GitHub
Meanwhile, you can use TS.REVRENGE
to achieve similar behavior.
ts.revrange a - + COUNT 1
1 Like
Hope the bug will be fixed soon. Thank you very much!
It is now fixed (v1.6.16).
Thank you again.