Open
Description
Describe the bug
When you use metadata cache with redis adapter, and you call $cache->reset()
it sends flushdb
to redis server. This clears whole redis database, which can cause a lot of issues.
Expected behavior
Either clear only set keys (store keys internally in Redis adapter) or maybe use prefix mechanism?
Also, documentation should reflect this.
I did not check other adapters.
Details
- Phalcon version: 5.6.2
- PHP Version: 8.5.2
- Operating System: Linux
- Installation type: compiled from source
- Server: nginx + fpm
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Type
Projects
Status
No status