Merge "Enable InfluxDB TSI by default"

This commit is contained in:
Zuul 2019-06-27 11:44:51 +00:00 committed by Gerrit Code Review
commit e7c19b7413
3 changed files with 23 additions and 0 deletions

View File

@ -25,6 +25,14 @@ influxdb_services:
external: false
port: "{{ influxdb_http_port }}"
####################
# InfluxDB
####################
# Enable the disk based time series index (recommended for all users). For
# more information see here:
# https://docs.influxdata.com/influxdb/v1.7/concepts/time-series-index/
influxdb_enable_tsi: True
####################
# Docker

View File

@ -11,6 +11,11 @@ reporting-disabled = true
wal-dir = "/var/lib/influxdb/wal"
wal-logging-enabled = true
data-logging-enabled = true
{% if influxdb_enable_tsi | bool %}
index-version = "tsi1"
{% else %}
index-version = "inmem"
{% endif %}
[coordinator]
write-timeout = "10s"
max-concurrent-queries = 0

View File

@ -0,0 +1,10 @@
---
upgrade:
- InfluxDB TSI has been enabled by default. It is recommended for all
customers by InfluxData. If you do not want to enable it you can set
the variable 'influxdb_enable_tsi' to 'False' in 'globals.yml'.
Instructions to migrate existing data to the new, disk based format
can be found at
https://docs.influxdata.com/influxdb/v1.7/administration/upgrading/
If you do not follow the migration proceedure, InfluxDB should continue
to work, but this is not recommended.