influxdata / influxdata/influxdb
influxd restore truncates 0 at the end of the folder (payment.default.01950.00 --> payment/default/195/ ) v. 1.8.3
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.
1. influxd restore -datadir /var/lib/influxdb/data/ -database payment /backup/
2. ls -l /var/lib/influxdb/data/payment/default/
3. folders 1950 -> 195; 2030 -> 203; 2040 -> 204 etc.

Contributor guide
Research direction
Start by running the reported `influxd restore -datadir /var/lib/influxdb/data/ -database payment /backup/` command and inspect the resulting `payment/default/` folders. Reproduce the conversion of names such as `1950` to `195`; done means restored folder names retain their trailing zeroes.
Written by the indexing model from the issue text.
Assessment
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100