**[eyison](https://jira.spring.io/secure/ViewProfile.jspa?name=JIRAUSER49602)** opened **[DATAREDIS-1152](https://jira.spring.io/browse/DATAREDIS-1152?redirect=false)** and commented `clean` method use `keys` command to get all keys which is blocked , may cause other commands time out. --- **Affects:** 2.1.17 (Lovelace SR17), 2.2.7 (Moore SR7), 2.3 GA (Neumann) **Issue Links:** - [DATAREDIS-1151](https://jira.spring.io/browse/DATAREDIS-1151) DefaultRedisCacheWriter.clean() uses blocking KEYS command (_**"duplicates"**_) **Referenced from:** pull request https://github.com/spring-projects/spring-data-redis/pull/532