influxdata / influxdata/influxdb

influx still not auto deleting

Open
#23,752 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

How can it be after so much time that it is still not possible for you to clean up influxdb automatically

`1488 100% /var/lib/influxdb`

```
> SHOW RETENTION POLICIES ON collections
name duration shardGroupDuration replicaN default
---- -------- ------------------ -------- -------
autogen 3648h0m0s 168h0m0s 1 true
```

`DELETE WHERE time < '2022-04-25'`

`85784 73% /var/lib/influxdb`

PS. I am getting tired of resizing the disk because of this shit, so searched for the oldest files and just deleted these to free up space.

influxdb-1.8.10-1.x86_64

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported retention behavior using the `SHOW RETENTION POLICIES ON collections` and `DELETE WHERE time < '2022-04-25'` commands. Compare the configured retention policy with the resulting disk usage and determine what would make old data expire automatically; done means retention cleanup works without manual deletion or repeated disk resizing.

Written by the indexing model from the issue text.

Assessment

Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.