Skip to content
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

TS.QUERYINDEX should get all DBs? #1520

Open
MatheusProtzen opened this issue Oct 12, 2023 · 3 comments
Open

TS.QUERYINDEX should get all DBs? #1520

MatheusProtzen opened this issue Oct 12, 2023 · 3 comments
Labels
question Further information is requested

Comments

@MatheusProtzen
Copy link

MatheusProtzen commented Oct 12, 2023

Expected behavior

It should show an empty list of keys when the keys do not belong to the database selected.

Actual behavior

It shows a list of keys from all databases.

image

Specs

  • RedisTimeSeries: v. 1.10.3
  • redis_version: 7.0.11
  • os: Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
@LiorKogan
Copy link
Member

RedisTimeSeries does not support SELECT.

@LiorKogan LiorKogan added the question Further information is requested label Oct 15, 2023
@MatheusProtzen
Copy link
Author

But when I select a database it should only list the keys corresponding to the selected database, right?

Today when I run TS.QUERYINDEX it searches all databases.

@alexandervogtdf
Copy link

Even worse, if you run FLUSHDB one one of the databases, it will corrupt the labels on the others. See: #1576

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants