Upgrading to InfluxDB 1.7.x

    • Download InfluxDB version 1.7.x and .

    • To enable TSI in InfluxDB 1.7.x, complete the following steps:

    b. If using environment variables, set INFLUXDB_DATA_INDEX_VERSION to .

    c. Delete shard index directories (by default, located at /<shard_ID>/index).

    d. Convert TSM-based shards to TSI-based shards by running the influx_inspect buildtsi command.

    • Restart the influxdb service.

    Complete step 3 and 4 in .

    To switch from TSI to TSM

    • In the InfluxDB configuration file, set .
    • Delete all shard index directories (by default, located at /<shard_ID>/index).

    To downgrade to an earlier version, complete the procedures above in , replacing the version numbers with the version that you want to downgrade to.After downloading the release, migrating your configuration settings, and enabling TSI or TSM, make sure to rebuild your index.

    See .