danni-m / redis-timeseries

Future development of redis-timeseries is at github.com/RedisLabsModules/redis-timeseries.

Home Page:https://github.com/RedisLabsModules/redis-timeseries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ADDing without CREATEing

abiank opened this issue · comments

It looks like the previous version CREATEd a TS when you ADDed to a nonexistant key. Now it gives an error. I'd like to revert back to the old behaviour, any tips on where to look?

@abiank I'm sorry its not working for you.
in module.c the function TSDB_add checks if key exists, the older version created the key with the default values.

Thanks! I'll try and patch it.

@abiank I removed this feature because I felt that using a time series without a retention policy will probably lead to a OOM.
Would you provide some more info on how and why you use the module?

If you prefer you can email me: danni@redislabs.com