Skip to content

Commit

Permalink
Fix read ssd corruption error reporting (facebookincubator#10199)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: facebookincubator#10199

Reviewed By: xiaoxmeng, amitkdutta

Differential Revision: D58602419

Pulled By: zacw7

fbshipit-source-id: 3014fa5b7b3bc44a8d114f6d86c222716087a9d2
  • Loading branch information
zacw7 authored and facebook-github-bot committed Jun 17, 2024
1 parent 3652d3d commit 57dc7fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions velox/common/caching/SsdFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ void SsdFile::updateStats(SsdCacheStats& stats) const {
stats.writeCheckpointErrors += stats_.writeCheckpointErrors;
stats.readSsdErrors += stats_.readSsdErrors;
stats.readCheckpointErrors += stats_.readCheckpointErrors;
stats.readSsdCorruptions += stats_.readSsdCorruptions;
}

void SsdFile::testingClear() {
Expand Down

0 comments on commit 57dc7fe

Please sign in to comment.