New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rules do not work on DBs other than 0 #1118
Comments
@ahmadazizi thanks for reporting the bug, but We don't plan to add support to |
Thank you, We have separate DBs for each organization, timeseries are organized in their respective DBs. |
Hi @ahmadazizi thanks for reporting the bug, it wasn't reproduced on master or 1.6: `root@b3444609487c:/data# redis-cli
Can you pls share a script that reproduces this bug? |
MAKING SURE KEYS DO NOT EXIST WITH THE SAME NAME IN DB0 [5] > select 0
[2] > keys * [2] > ts.create t1 [2] > ts.create t2 [2] > ts.createrule t1 t2 AGGREGATION MIN 5 [2] > ts.info t1
[2] > ts.add t1 10 50 [2] > ts.add t1 5 999 RULE DOES NOT EXIST AFTER ADDING SAMPLES: [2] > ts.info t1
[2] > ts.range t2 - + THIS DOES NOT HAPPEN IN DB0 |
If you create a rule on a timeseries on a DB other than 0 (e.g. 5), as soon as you add some data, the rule will disappear and never run.
Affected redis versions: all versions
Affected timeseries version: all versions
The text was updated successfully, but these errors were encountered: