freemandealer opened a new pull request, #65722:
URL: https://github.com/apache/doris/pull/65722
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: Memory file cache storage still followed disk-oriented LRU
persistence behavior and skipped capacity-based resource limit monitoring. This
could leave unused LRU records without a consumer, access disk persistence
paths in memory mode, and fail to enter capacity pressure modes. Adapt the
required parts of the SelectDB fixes to current Doris master, while retaining
the newer sharded memory storage duplicate-key handling already present on
master.
### Release note
Improve memory file cache capacity monitoring and avoid disk-only LRU
persistence work.
### Check List (For Author)
- Test: Unit Test
- `BlockFileCacheMemModeTest.*` (11 tests passed)
- BE compilation with `./build.sh --be`
- Behavior changed: Yes. Memory file cache now uses capacity percentage for
pressure modes and skips disk-only LRU persistence.
- Does this need documentation: No
--
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]