Skip to content

Commit

Permalink
Note why disk scheduler is shared ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
rmboyce committed Jan 22, 2025
1 parent b2563bb commit 7606469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/buffer/buffer_pool_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class BufferPoolManager {
/** @brief The replacer to find unpinned / candidate pages for eviction. */
std::shared_ptr<LRUKReplacer> replacer_;

/** @brief A pointer to the disk scheduler. */
/** @brief A pointer to the disk scheduler. Shared with the page guards for flushing. */
std::shared_ptr<DiskScheduler> disk_scheduler_;

/**
Expand Down

0 comments on commit 7606469

Please sign in to comment.