xinyiZzz opened a new pull request, #28149:
URL: https://github.com/apache/doris/pull/28149
## Proposed changes
1. LRU Cache of type `LRUCacheType::NUMBER` no longer records memory Bytes
separately.
Only records entry number, because using `LRUCacheType::NUMBER` type is
usually due to inability to accurately track memory.
2. LRU Cache of type `LRUCacheType::NUMBER` cache capacity means the number
of entries, so the `charge` of insert is always `1` instead of
`sizeof(CacheValue)`, which is easier to understand.
3. `TabletSchema` and `Schema` no longer track memory, only track columns
count. because cannot accurately track memory size.
4. Segment::_meta_mem_usage Unknown value overflow, causes the value of
SegmentMeta MemTracker is similar to `-2912341218700198079`. So, temporarily
put it in experimental type tracker.
5. TabletMeta MemTracker changed to track TabletSchema columns count.
## Further comments
If this is a relatively large or complex change, kick off the discussion at
[[email protected]](mailto:[email protected]) by explaining why you
chose the solution you did and what alternatives you considered, etc...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]