I have conducted an experiment where I run RedisTimeSeries with persistence but after rebooting redis-server, I am not able to get the previous data and getting “ERR TSDB: the key does not exist” error. I see that neither dump.rdb nor appendonly.aof file is not created. Can you please help me understand if I am doing something wrong here?
Following are the steps I performed:
- Enable RDB and AOF persistence in redis.conf
- Run redis-server
redis-server --loadmodule RedisTimeSeries/bin/redistimeseries.so ~/redis-6.0.8/redis.conf & - Run redis time series client which adds timeseries data using TS.ADD
- Kill redis-server and start it again
- Run redis time series client to query timeseries data using TS.RANGE