Skip to content

Commit f9dfd14

Browse files
authored
Fix p1 (bpm) new page documentation (#802)
Fix new page doc
1 parent 45bdaaf commit f9dfd14

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/buffer/buffer_pool_manager.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,6 @@ auto BufferPoolManager::Size() const -> size_t { return num_frames_; }
112112
* You will maintain a thread-safe, monotonically increasing counter in the form of a `std::atomic<page_id_t>`.
113113
* See the documentation on [atomics](https://en.cppreference.com/w/cpp/atomic/atomic) for more information.
114114
*
115-
* Also, make sure to read the documentation for `DeletePage`! You can assume that you will never run out of disk
116-
* space (via `DiskScheduler::IncreaseDiskSpace`), so this function _cannot_ fail.
117-
*
118-
* Once you have allocated the new page via the counter, make sure to call `DiskScheduler::IncreaseDiskSpace` so you
119-
* have enough space on disk!
120-
*
121115
* TODO(P1): Add implementation.
122116
*
123117
* @return The page ID of the newly allocated page.

0 commit comments

Comments
 (0)