influxdata / influxdata/influxdb

Add option to `influx -import` to override maximum write batch size

Open Beginner friendly
#27,599 0 comments 0 reactions 0 assignees View on GitHub
1.x area/cli team/edge
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

`influx -import` currently assumes a maximum write batch size limit of 25 MiB. A command line option should be added to override the this for users that use the `[http] max-body-size` configuration option on their server.

Contributor guide

Open the contributing guide

Research direction

Start at the `influx -import` command entry point and trace where the 25 MiB maximum write batch size is applied. Add a command-line override that accommodates servers using `[http] max-body-size`, then run the existing import tests or a representative import against such a server to verify the configured limit is honored.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.