fix style

This commit is contained in:
KinderRiven 2022-05-25 17:51:03 +08:00
parent 1ce219bae2
commit d0fcffec66
2 changed files with 1 additions and 4 deletions

View File

@ -410,9 +410,6 @@ LRUFileCache::FileSegmentCell * LRUFileCache::addCell(
{ {
if (state == FileSegment::State::EMPTY) if (state == FileSegment::State::EMPTY)
{ {
LOG_TEST(log, "[addCell] FileSegment key:{}, offset:{}, state:{}, enable_cache_hits:{}, current_element_size:{}/{}.",
keyToStr(key), offset, FileSegment::stateToString(state), enable_cache_hits_threshold, stash_queue.getElementsNum(cache_lock), max_stash_element_size);
auto record = records.find({key, offset}); auto record = records.find({key, offset});
if (record == records.end()) if (record == records.end())

View File

@ -234,7 +234,7 @@ private:
AccessRecord records; AccessRecord records;
size_t max_stash_element_size; size_t max_stash_element_size;
size_t enable_cache_hits_threshold; size_t enable_cache_hits_threshold;
Poco::Logger * log; Poco::Logger * log;
FileSegments getImpl( FileSegments getImpl(