influxdata / influxdata/influxdb
Specific data missing from bucket every single time
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
(Please let me know if this should be posted somewhere else)
__Steps to reproduce:__
I've been following a [very basic tutorial](https://thedatafrog.com/en/articles/docker-influxdb-grafana/) for reading data from a sensor and writing it to a bucket in influxdb. The tutorial is out of date, so I've updated my code to use the new apis and query protocols. However, I'm noticing that everytime I write a record to the database, one very specific entry is always omitted, and never present when I read all the entries back (images below). Specifically, the entry for my record where the "input" is 0.1 is always (literally every single time) dropped when writing to the db. I have no idea why this is happening.
Github Repo: https://github.com/advermaMQ/influx-playground
__Environment info:__
I'm running this in Docker as shown in the tutorial, except I'm using the latest version of influxdb:
* InfluxDB version: InfluxDB v2.7.1 (git: 407fa622e9) build_date: 2023-04-28T13:24:27Z
__Logs:__
### What I'm writing to the database:
### What I'm reading from the database:
## Code
### Writing to DB:
### Reading from DB:
Contributor guide
Research direction
Start by running the linked influx-playground reproduction with InfluxDB v2.7.1 in Docker, following the write and read steps from the issue. Compare the stored records and query results for the input value 0.1, then trace the relevant write/query entry point to identify why it is omitted. Done means the cause is confirmed and the reproduction no longer loses that record.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100