influxdata / influxdata/influxdb

influx backup reads only the first 20 organizations

Open
#23,045 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.