-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Closed
Copy link
Labels
Description
Describe the bug
EhcacheDiskCache exposes a way to iterator over keys which is basically a wrapper over underlying ehcache iterator. Link
If we try to call iterator.remove() on above iterator, it won't work as it isn't supported.
Related component
Search:Performance
To Reproduce
Write a simple unit test on EhcacheDiskCacheTests, fetch iterator and call remove(). Try to assert that the key actually got removed.
Expected behavior
Calling remove() on EhCacheKeyIterator should be able to remove the desired key.
For fix, we need to override remove() in above class.
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
- OS: [e.g. iOS]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done