influxdata / influxdata/influxdb
Retention Policy is not updated to the bucket (HTTP interface)
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. Jump into the HTTP interface
2. load-data/sources (Data -> Buckets)
3. Create a new bucket with retention policy : 3 weeks
4. Save the current config
5. Go back to this bucket and use the button "settings", new window with "Edit Bucket" should appear
6. Change the "delete data" from "older than 3 weeks" to "never"
7. Confirm the modification
8. Retention is still set to 3 weeks.
__Expected behavior:__
I expect the retention policy was correctly changed since no error was shown
__Actual behavior:__
Retention policy seems to not change to "infinite" from a current set
__Turn arround:__
Edit the retention policy through the CLI (command line)
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 reproducing the bucket retention change in the HTTP interface, then compare the request and response with the CLI behavior described in the issue. Trace the Edit Bucket settings flow and its retention-policy update path; done means changing a bucket from three weeks to never persists and is shown correctly after reopening it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, rust
- Domain
- database, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100