Querying logs with timestamp filter sometimes return the same chunk for different timestamp values.
Here is a log for reference: https://gist.github.com/deszip/5879239c9484144757cb86fd78f629b2
There are two requests, first with timestamp=1550561676 and second with timestamp=1550561677, a second difference.
Both calls respond with chunk no 993 which is weird and looks like some race condition.
I never saw this if I make the second request in 10 seconds or so.
Also as @viktorbenei said, chunk entity should contain timestamp key. This could be handy for debugging such issues.
Thanks in advance guys.