Skip to content

Commit 09f142a

Browse files
Rob Lyerlymeta-codesync[bot]
authored andcommitted
Fix typos in BlockCache
Summary: ^ Reviewed By: AlnisM Differential Revision: D89315968 fbshipit-source-id: c619958b8099aa5b54466d00fe2d8ac8cf558008
1 parent 87e15e8 commit 09f142a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cachelib/navy/block_cache/BlockCache.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ Status BlockCache::remove(HashedKey hk) {
524524
*
525525
* If a checksum error is detected in an item's descriptor, the reclaim process
526526
* is aborted for the remaining items in the region, and their eviction
527-
* callbacks will not be invoked. If a cheksum error is detected in the value,
527+
* callbacks will not be invoked. If a checksum error is detected in the value,
528528
* we can continue working on the remaining items as the metadata is still valid
529529
* and that is what we need to find the next item to evict/remove/reinsert.
530530
*
@@ -843,7 +843,7 @@ AllocatorApiResult BlockCache::reinsertOrRemoveItem(
843843
evictionLookupMissCounter_.inc();
844844
// Either item is not in index (NOT_FOUND) or the time has been
845845
// replaced by a newer item hence the current item is invalidated
846-
// (INVALDIATED).
846+
// (INVALIDATED).
847847
auto eventRes = !lr.found() ? AllocatorApiResult::NOT_FOUND
848848
: AllocatorApiResult::INVALIDATED;
849849
recordEvent(hk.key(), AllocatorApiEvent::NVM_REINSERT, eventRes, entrySize);

0 commit comments

Comments
 (0)