Skip to content

Commit

Permalink
Fix p1 (bpm) new page documentation (#802)
Browse files Browse the repository at this point in the history
Fix new page doc
  • Loading branch information
rmboyce authored Jan 27, 2025
1 parent 45bdaaf commit f9dfd14
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/buffer/buffer_pool_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,6 @@ auto BufferPoolManager::Size() const -> size_t { return num_frames_; }
* You will maintain a thread-safe, monotonically increasing counter in the form of a `std::atomic<page_id_t>`.
* See the documentation on [atomics](https://en.cppreference.com/w/cpp/atomic/atomic) for more information.
*
* Also, make sure to read the documentation for `DeletePage`! You can assume that you will never run out of disk
* space (via `DiskScheduler::IncreaseDiskSpace`), so this function _cannot_ fail.
*
* Once you have allocated the new page via the counter, make sure to call `DiskScheduler::IncreaseDiskSpace` so you
* have enough space on disk!
*
* TODO(P1): Add implementation.
*
* @return The page ID of the newly allocated page.
Expand Down

0 comments on commit f9dfd14

Please sign in to comment.