micronaut-projects / micronaut-redis

Integration between Micronaut and Redis
Apache License 2.0
29 stars 35 forks source link

Update invalidateAll implementation to use SCAN #545

Closed Mike-Svendsen-IL closed 1 month ago

Mike-Svendsen-IL commented 1 month ago

Implements the improvement described in #543

Summary - the KEYS command is not recommended for production use and is disabled in AWS Serverless Elasticache environments. Instead of using the KEYS command use a SCAN command to find all of the keys matching the desired pattern.

graemerocher commented 1 month ago

Thanks for the contribution!