Closed
Description
Steps to reproduce:
- Download tests.zip, it contains two annotated csv files, test1.csv and test4.csv
- Add test1.csv to influxdb using
influx write
Note that there are 80 records in this file spanning a year. Confirm that there are now 80 records in this measurement using the following query
from(bucket: "test")
|> range(start: -1y)
|> filter(fn: (r) => r["_measurement"] == "Measurement1")
|> drop(columns: ["team", "scope"])
|> count()
- Now add test4.csv to influxdb. Run the query above again. Note that there are now only 18 records, even though test4 only adds records to Measurement4.
Expected behavior:
When two records have the same timestamp and tags, I expect one to overwrite the other without affecting other measurements.
Actual behavior:
One overwrites the other, but then messes up data from other measurements.
Environment info:
- System info: Linux 4.19.76-linuxkit x86_64
- InfluxDB version: InfluxDB 2.0.1 (git: 37cc047) build_date: 2020-11-11T03:53:31Z
- Other relevant environment details: Running using the docker image on Windows 10 using HyperV containers
Activity