influxdata / influxdata/influxdb
ability to drop a measurement
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
__Use case:__
At this point if a measurement contains a reasonable amount of measurements, there seems no way to drop the measurement.
I'm currently experiencing this on a measurement I briefly created to build a field<->series relationship.
This measurement can no long be deleted (and I guess deleting the measurement that was subject to this investigation can never be dropped as it collects 350 million values a day).
__Proposal:__
Let drop measurement run in background such that it is not subject to query timeouts.
__Current behaviour:__
drop measurement will timeout
__Desired behaviour:__
drop measurement will be executed in background and the result is reported in a metrics that can be acquired via http://.../debug/vars
__Alternatives considered:__
are there any?
Contributor guide
Research direction
Start by tracing the measurement-drop operation and reviewing the HTTP /debug/vars entry point mentioned in the proposal. Done means drop measurement can run in the background without query timeouts and reports its result through metrics available via /debug/vars.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100