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

.cache clear is not working #4443

Closed
cjsrkd3321 opened this issue Nov 17, 2024 · 1 comment
Closed

.cache clear is not working #4443

cjsrkd3321 opened this issue Nov 17, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cjsrkd3321
Copy link
Contributor

cjsrkd3321 commented Nov 17, 2024

Describe the bug
.cache clear / select from steampipe_internal.meta_cache('clear') is not working.

Steampipe version (steampipe -v)
v1.0.0

To reproduce

### 1st terminal ###
cd ~/.steampipe/logs
tail -f plugin-*.log
### 2nd terminal ###
steampipe query
> select * from aws_iam_role
### 1st terminal ###
...<SNIP>...
2024-11-17 13:01:27.543 UTC [INFO]  steampipe-plugin-aws.plugin: [INFO]  <SNIP>: queryCacheGet returned CACHE MISS (aws-<SNIP>)
...<SNIP>...
### 2nd terminal ###
> .cache clear
> select * from aws_iam_role
### 1st terminal ###
...<SNIP>...
2024-11-17 13:03:46.500 UTC [INFO]  steampipe-plugin-aws.plugin: [INFO]  <SNIP>: queryCacheGet returned CACHE HIT (aws-<SNIP>)
...<SNIP>...

Expected behavior
The 1st terminal should have printed "...returned CACHE MISS".

Additional context
I'm using MAC(Apple Silicon).

@cjsrkd3321 cjsrkd3321 added the bug Something isn't working label Nov 17, 2024
@kaidaguerre
Copy link
Contributor

Hi @cjsrkd3321

There does seem to be a bug here. I'll look into it and get a fix sorted.

Thanks for raising this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants