forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add checksum for ssd cache (facebookincubator#9822)
Summary: This PR introduces an optional checksum feature for the SSD cache. When enabled, a CRC-based checksum is calculated for each cache entry and stored in the checkpoint file. Additionally, if read verification is activated, the checksum is recalculated and verified against the stored value when cache data is recovered from the checkpoint or loaded from the SSD. A new counter, `ssd_cache_read_corruptions`, is added to track the number of corruptions detected due to checksum mismatches. Pull Request resolved: facebookincubator#9822 Reviewed By: xiaoxmeng Differential Revision: D57394558 Pulled By: zacw7 fbshipit-source-id: 5a1ee22c11e63fe4fe4a3f7c67775ffcd942068e
- Loading branch information
1 parent
d6d90d6
commit c6e2e90
Showing
13 changed files
with
476 additions
and
125 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
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
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
Oops, something went wrong.