Delete TxData Mini Cache Log

This commit is contained in:
ZenoWang
2023-08-08 11:18:30 +00:00
committed by ob-robot
parent 9fd9e82342
commit 1922809d62

View File

@ -430,7 +430,9 @@ public:
{ {
int64_t pos = 0; int64_t pos = 0;
for (int i = 0; i < TX_DATA_MINI_LRU_ITEM_CNT; i++) { for (int i = 0; i < TX_DATA_MINI_LRU_ITEM_CNT; i++) {
J_KV(K(cache_items_[i])); if (OB_UNLIKELY(cache_items_[i].is_valid_)) {
J_KV(K(cache_items_[i]));
}
} }
return pos; return pos;
} }