In buffer manager, `numPages` is not changing when the file has more pages.

Issue #3 invalid
Gates Wang repo owner created an issue

Please see CLOCK.c, FIFO.c and LRU.c.

When ensureCapacity() is used to extend the num of pages in that page file, the numPages in the buffer manager remains the same.

Comments (3)

  1. Gates Wang reporter

    It's my fault. The numPages in BufferManager is the num of pages that a manager holds, not the num of pages that the file contains.

  2. Log in to comment