spring-data-redis
spring-data-redis copied to clipboard
PartialUpdate call keys command when try to update secondary index entity [DATAREDIS-1050]
tramyu opened DATAREDIS-1050 and commented
I use PartialUpdate to update a secondary index entity. The update works great, but partial update call keys command
I think you can access them instantly through mapped index values without having to call a keys command
No further details from DATAREDIS-1050
I have gotten the same this issue. PartialUpdate calls KEYS redis command that warned at https://redis.io/commands/keys/: consider KEYS as a command that should only be used in production environments with extreme care. It may ruin performance when it is executed against large databases. Our service ruins performance in Production environment. @christophstrobl could you please help to fix this bug or recommend a solution to fix this issue? Should we use SCAN or SETS (recommended at https://redis.io/commands/keys/) replace for KEYS command in removeKeyFromExistingIndexes() -> connection.keys (the latest version 2.7.2)
Does this issue still exist?