You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stop InfluxDB then restart and stop it again to force a WAL flush
Install 0.11.0 and run:
$ go/bin/influx_tsm -backup .influxdb-backup .influxdb/data
b1 and bz1 shard conversion.
-----------------------------------
Data directory is: /Users/gunnaraasen/.influxdb/data
Backup directory is: /Users/gunnaraasen/.influxdb-backup
Databases specified: all
Database backups enabled: yes
Parallel mode enabled (GOMAXPROCS): no (4)
Found 3 shards that will be converted.
Database Retention Path Engine Size
_internal monitor /Users/gunnaraasen/.influxdb/data/_internal/monitor/2 bz1 131072
stress default /Users/gunnaraasen/.influxdb/data/stress/default/1 bz1 2147483648
stress default /Users/gunnaraasen/.influxdb/data/stress/default/3 bz1 131072
These shards will be converted. Proceed? y/N: y
Conversion starting....
Backing up 2 databases...
2016/03/22 12:16:44.438388 Backup of database '_internal' started
2016/03/22 12:16:44.438388 Backup of database 'stress' started
2016/03/22 12:16:44.439063 Backing up file /Users/gunnaraasen/.influxdb/data/_internal/monitor/2
2016/03/22 12:16:44.439252 Backing up file /Users/gunnaraasen/.influxdb/data/stress/default/1
2016/03/22 12:16:44.440346 Database _internal backed up (1.983098ms)
2016/03/22 12:16:47.652886 Backing up file /Users/gunnaraasen/.influxdb/data/stress/default/3
2016/03/22 12:16:47.653766 Database stress backed up (3.215429137s)
2016/03/22 12:16:47.653851 Starting conversion of shard: /Users/gunnaraasen/.influxdb/data/_internal/monitor/2
2016/03/22 12:16:47.653863 Starting conversion of shard: /Users/gunnaraasen/.influxdb/data/stress/default/1
2016/03/22 12:16:47.654028 Starting conversion of shard: /Users/gunnaraasen/.influxdb/data/stress/default/3
2016/03/22 12:16:47.656476 Failed to convert /Users/gunnaraasen/.influxdb/data/stress/default/3: Conversion of /Users/gunnaraasen/.influxdb/data/stress/default/3 failed: unsupported value type *tsdb.Value
Note that rolling back to 0.10.3, converting shards, and then upgrading to 0.11.0 again does work.
I don't think there's much we can do about this. The code to support b1 and bz1 doesn't exist anymore, except for a stripped-down version required to convert shards in the 0.10 releases.
To upgrade to InfluxDB 0.11, you must be on version 0.10 and all shards must be in TSM format (the default storage engine starting with InfluxDB 0.10).
So there's no straightforward way to upgrade from 0.9.X to 0.11.
Steps to reproduce
influx_stress
Note that rolling back to 0.10.3, converting shards, and then upgrading to 0.11.0 again does work.
cc/ @joelegasse
The text was updated successfully, but these errors were encountered: