You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Insert exactly the same points again (overwriting old ones)
Run a query
Expected behavior:
Both query return the same results at a similar time
Actual behavior:
Results are the same, but second query (after overwrite) is almost 500 times slower than the first query. Repeating query after 10s works a bit faster but still far from the first query.
If there were duplicate points in multiple blocks, we would correctly
dedup the points and mark the regions of the blocks we've read.
Unfortunately, we were not excluding the already points as the cursor
moved to points in the later blocks which could cause points to be
return twice incorrectly.
Fixes#6611
@kub00n Thanks for providing the python script. That made it really easy to reproduce and track down the issue. The perf issue is fixed in master, but your script highlighted a correctness issue with deduplicating overwritten points. See #6668 which will fix that issue.
Bug report
System info:
InfluxDB 0.13, InfluxDB 0.12.2
Ubuntu 14.04.1
Steps to reproduce:
Expected behavior:
Both query return the same results at a similar time
Actual behavior:
Results are the same, but second query (after overwrite) is almost 500 times slower than the first query. Repeating query after 10s works a bit faster but still far from the first query.
Additional info:
I wrote simple python script to reproduce it : influx_overwrite_bug.py :
The text was updated successfully, but these errors were encountered: