influx-cli icon indicating copy to clipboard operation
influx-cli copied to clipboard

CLI does not paginate resources

Open imogenkinsman opened this issue 5 years ago • 3 comments

The CLI communicates to influx over the HTTP API, which by default has a limit of 100 for all resources and offers pagination to get more results.

This isn't properly being taken into account in the CLI, and therefore it's impossible to show results past the first 100.

AC: As a user, I should see all results when entering a command like influx buckets list.

imogenkinsman avatar Apr 03 '20 16:04 imogenkinsman

Hi @jademcgough, I want to work on this. Where should I start?

adhaamehab avatar Jul 03 '20 19:07 adhaamehab

connect: influxdata/influxdb#19490

russorat avatar Sep 02 '20 18:09 russorat

This issue may cause data loss because internally InfluxDB backup in the latest version 2.4 is also limited to one page of buckets, so all buckets after the 20th bucket will be ignored by the influx backup command. This might lead the user to believe that they have their data backed up safely, while in reality only the first 20 buckets were stored 🐞

hinst avatar Sep 07 '22 14:09 hinst