You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
To address comments here - #10753 (comment)
We need to see if there is a way to simplify locking mechanism which is currently hard to read.
Currently while trying to put any new item onto Heap cache, we do it under a write lock. Any evictions occuring from onHeap cache happens under the same lock after which we put it onto disk cache. The whole flow is complex to understand, need to see if there is a way better to do it.
Describe the solution you'd like
NA
Related component
Search:Performance
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
[Triage - attendees 12] @sgup432 Thanks for creating this issue; however, it isn't being accepted due to lack of clarity around what is hard to read or in what way the improvement to should be made (e.g. can we add documentation?) . Please feel free to re-open after addressing the reason.
Currently while trying to put any new item onto Heap cache, we do it under a write lock. Any evictions occuring from onHeap cache happens under the same lock after which we put it onto disk cache. The whole flow is complex to understand, need to see if there is a way better to do it.
Can you reopen this again? This was created as @Bukhtawar had some concerns on this and we need to explore a way once initial set of changes have gone in.
Is your feature request related to a problem? Please describe
To address comments here - #10753 (comment)
We need to see if there is a way to simplify locking mechanism which is currently hard to read.
Currently while trying to put any new item onto Heap cache, we do it under a write lock. Any evictions occuring from onHeap cache happens under the same lock after which we put it onto disk cache. The whole flow is complex to understand, need to see if there is a way better to do it.
Describe the solution you'd like
NA
Related component
Search:Performance
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: