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
If this really changes the size of the cached header, then we'll need to bump the cache version # and put in logic to convert current versions to the updated version.
#5063 Is the alternate changes. And I prefer to bumping the cache version or other better ideas that can avoid cache cleaning.
The cache is leaking on 3 scenarios :
Read side. Because the CacheHTTPInfoVector is a part of Doc's buffer. it should be free when doc's buffer freed (If this fragment didn't put to ram cache).
Write side. While we are trying to update a vector, the CacheHTTPInfoVector doesn't free the frag_offsets. Because CacheHTTPInfoVector::insert doesn't check overwriting of the alternate.
Ram side. The frag_table should be freed along with the buffer free.
Activity
SolidWallOfCode commentedon Feb 24, 2019
If this really changes the size of the cached header, then we'll need to bump the cache version # and put in logic to convert current versions to the updated version.
scw00 commentedon Feb 25, 2019
#5063 Is the alternate changes. And I prefer to bumping the cache version or other better ideas that can avoid cache cleaning.
The cache is leaking on 3 scenarios :
CacheHTTPInfoVectordoesn't free thefrag_offsets. BecauseCacheHTTPInfoVector::insertdoesn't check overwriting of the alternate.frag_tableshould be freed along with the buffer free.See #5063
scw00 commentedon Jul 3, 2019
Close via #5075