I use influxdb 1.7 with index-version = “inmem”. As I read the doc, I migrate to tsi1 follow the steps below.
sudo service influxdb stop
sudo influx_inspect buildtsi -datadir /var/lib/influxdb/data -waldir /var/lib/influxdb/wal
sudo service influxdb start
After doing these, the data I stored previous were missing. Does it take some time to convert to tsi or Is there something wrong with my operation?
As I find out that “sudo service influxdb start” the user of the influxd daemon process is “influxdb”.
So I make a mistake to convert inmem data to tsi. step 2 should be as follow:
sudo -H -u influxdb bash -c ‘influx_inspect buildtsi -datadir /var/lib/influxdb/data -waldir /var/lib/influxdb/wal’
MarcV
April 13, 2019, 7:03am
3
Hi @jackyxie ,
Do you still have missing data ?
I change the user to convert to tsi. It’s ok now.