influxdata / influxdb

Scalable datastore for metrics, events, and real-time analytics
https://influxdata.com
Apache License 2.0
28.71k stars 3.54k forks source link

Upgrade: InfluxDB 2 paths options usability #19803

Open vlastahajek opened 3 years ago

vlastahajek commented 3 years ago

InfluxDB 2 upgrade needs two options for specifying target paths. Both options are the same as influxd run uses:

The most confusing thing seems to be the bolt DB path. A user needs to add a full path to the specific file, which doesn't exist yet. The improvement would be specifying just a folder, e.g., --bolt-dir.

However, it would be more clear if there is is just a single option e.g. --v2-dir to specify ve folder, default <user-home>/.influxdbv2/. And implementation would just extend that into two necessary paths.

vlastahajek commented 3 years ago

@russorat, @stuartcarnie, your thoughts, please?