Fix unclear comment.

This commit is contained in:
Steve Atherton 2022-03-10 14:22:45 -08:00
parent 11f25bc08f
commit 30957c3a43

View File

@ -309,8 +309,9 @@ public:
// Advance the commit version and the oldest readble version and commit until the remap queue is empty.
virtual Future<Void> clearRemapQueue() = 0;
// If set to a valid pointer, the page cache should behave as though the page cache size limit has been
// reduced by the target byte count.
// Get a pointer to an integer representing a byte count penalty the pager should apply against usable page cache
// memory. This is used to track significant memory usage external to the pager. Such usages should
// increment/decrement the value at this pointer based on their memory footprint.
virtual int64_t* getPageCachePenaltySource() = 0;
protected: