Open jja725 opened 1 month ago
Fix metrics when there's cache miss
The correct behavior should be
When read from external storage (or a cache miss?), CLIENT_CACHE_PAGE_READ_CACHE_TIME_NS == 0 & CLIENT_CACHE_PAGE_READ_EXTERNAL_TIME_NS > 0
When read from cache (or cache hit?), CLIENT_CACHE_PAGE_READ_CACHE_TIME_NS > 0 & CLIENT_CACHE_PAGE_READ_EXTERNAL_TIME_NS == 0
na
Automated checks report:
Some checks failed. Please fix the reported issues and reply alluxio-bot, check this please to re-run checks.
alluxio-bot, check this please
All checks passed!
What changes are proposed in this pull request?
Fix metrics when there's cache miss
Why are the changes needed?
The correct behavior should be
When read from external storage (or a cache miss?), CLIENT_CACHE_PAGE_READ_CACHE_TIME_NS == 0 & CLIENT_CACHE_PAGE_READ_EXTERNAL_TIME_NS > 0
When read from cache (or cache hit?), CLIENT_CACHE_PAGE_READ_CACHE_TIME_NS > 0 & CLIENT_CACHE_PAGE_READ_EXTERNAL_TIME_NS == 0
Does this PR introduce any user facing changes?
na