Skip to content

Commit

Permalink
Fix ExpiryPagerComment
Browse files Browse the repository at this point in the history
It incorrectly states that the task purges expired items from disk.

Change-Id: I4e0f18c81b6392d146c66cbda4838555fd09667f
Reviewed-on: http://review.couchbase.org/c/kv_engine/+/163982
Tested-by: Dave Rigby <[email protected]>
Reviewed-by: Dave Rigby <[email protected]>
  • Loading branch information
BenHuddleston authored and daverigby committed Oct 20, 2021
1 parent 3bde439 commit 9e5480f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions engines/ep/src/item_pager.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,9 @@ class ItemPager : public GlobalTask {
};

/**
* Dispatcher job responsible for purging expired items from
* memory and disk.
* Dispatcher job responsible for expiring items currently stored in memory. The
* act of expiring (deleting) the item generally results in the deletion of the
* items value which saves memory and disk space.
*/
class ExpiredItemPager : public GlobalTask,
public std::enable_shared_from_this<ExpiredItemPager> {
Expand Down

0 comments on commit 9e5480f

Please sign in to comment.