forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the initial cache stats reporting (facebookincubator#10408)
Summary: There is a bug in delta cache stats calculation which can leads to the missing initial report. As we only set the ssd delta if both the old and new cache stats has ssd stats but for the initial report, the old one doesn't have the ssd stats which caused the initial cache stats like the checkpoint reads never get reported. This PR fixes this with unit test. Pull Request resolved: facebookincubator#10408 Reviewed By: tanjialiang, zacw7 Differential Revision: D59416042 Pulled By: xiaoxmeng fbshipit-source-id: 41cf374897e56edd0551bbb1f18174c81d14069d
- Loading branch information
1 parent
311e911
commit 259a4e8
Showing
3 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters