influxdata / influxdata/influxdb
influx backup reads only the first 20 organizations
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
__Steps to reproduce:__
1. Create 21 organizations
2. run `influx backup`
3. run `influx restore` on a clean database
__Expected behavior:__
21 organizations will be restored
__Actual behavior:__
20 organizations will be restored
__Environment info:__
* InfluxDB version: 2.0.6
This behavior leads to data loss
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
Start by locating the implementation of the `influx backup` and `influx restore` commands, then reproduce the issue with 21 organizations using the steps provided. Done means a backup and restore preserves all 21 organizations rather than stopping at 20.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100