influxdata / influxdata/influxdb

Default number of buckets does not include system buckets

Open
#17,079 0 comments 0 reactions 0 assignees View on GitHub
area/api kind/bug team/api
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

When using default limit, which is 20, for the number of buckets to be returned, `GET /buckets` endpoint returns 22 buckets, which includes two system buckets `_tasks` and `_monitoring`.
If that is intentional then we would need to update swagger doc to mention that default limit value does not include system buckets.
The same happens when setting limit to any other number less or equals to 100 (currently we won't return more than 100 buckets).
One thing is that it is not happening all the time.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing GET /buckets with the default limit and with limits up to 100, checking whether _tasks and _monitoring are included consistently. Read the endpoint behavior and its Swagger documentation; done means either correcting the returned count or documenting the system-bucket exception, with the intermittent behavior explained.

Written by the indexing model from the issue text.

Assessment

Domain
api, 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.