File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
cachelib/navy/block_cache Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -942,13 +942,12 @@ void BlockCache::tryRecover(RecordReader& rr) {
942
942
943
943
bool BlockCache::isValidRecoveryData (
944
944
const serialization::BlockCacheConfig& recoveredConfig) const {
945
- return *config_.cacheBaseOffset_ref () ==
946
- *recoveredConfig.cacheBaseOffset_ref () &&
947
- *config_.cacheSize_ref () == *recoveredConfig.cacheSize_ref () &&
945
+ return *config_.cacheBaseOffset () == *recoveredConfig.cacheBaseOffset () &&
946
+ *config_.cacheSize () == *recoveredConfig.cacheSize () &&
948
947
static_cast <int32_t >(allocAlignSize_) ==
949
- *recoveredConfig.allocAlignSize_ref () &&
950
- *config_.checksum_ref () == *recoveredConfig.checksum_ref () &&
951
- *config_.version_ref () == *recoveredConfig.version_ref ();
948
+ *recoveredConfig.allocAlignSize () &&
949
+ *config_.checksum () == *recoveredConfig.checksum () &&
950
+ *config_.version () == *recoveredConfig.version ();
952
951
}
953
952
954
953
serialization::BlockCacheConfig BlockCache::serializeConfig (
You can’t perform that action at this time.
0 commit comments