influxdata / influxdata/influxdb
Help needed to drop series where tag key also exists as a field key
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
InfluxDB version: 1.6-1.8 OSS
I have a situation where accidently I now have to names which are known to be a field key as well as a tag key.
I want to remove them as a tag key using drop series.
However, drop series fails because it detects the key to be a field in some shards.
Adding the ::tag suffix is not supported with drop series.
Delete from measurement seems to work (apart from the timeout)
How can I get these timeseries removed from the index as well?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files, tests, or entry points are identified in the issue. Reproduce the behavior with InfluxDB 1.6–1.8 using a field key that is also a tag key, then inspect the drop series and delete-from-measurement behavior; done means determining a supported way to remove the affected series from the index or documenting that it is unsupported.
Written by the indexing model from the issue text.
Assessment
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100