Skip to content

Flux stops reading results on first shard with no data #20035

Closed
@Techmaster21

Description

Steps to reproduce:

  1. Download tests.zip, it contains two annotated csv files, test1.csv and test4.csv
  2. 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()
  1. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions