doris
doris copied to clipboard
[enhancement](cloud) fix TTL cache size negative overflow
reset_range enlarges the size if the download size is larger than the original size. TTL LRU queue missed that while still subtracting the larger size when entries were removed from the queue, causing the size metric negative overflow.