Skip to content

Commit

Permalink
MINOR: fix typo (apache#14542)
Browse files Browse the repository at this point in the history
Reviewers: Bruno Cadonna <[email protected]>
  • Loading branch information
mjsax authored and AnatolyPopov committed Feb 16, 2024
1 parent cadf2ec commit 7157958
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ protected final MappedByteBuffer mmap() {
* algorithm will read index entries in page #0, 6, 9, 11, and 12.
* page number: |0|1|2|3|4|5|6|7|8|9|10|11|12 |
* steps: |1| | | | | |3| | |4| |5 |2/6|
* In each page, there are hundreds log entries, corresponding to hundreds to thousands of kafka messages. When the
* index gradually growing from the 1st entry in page #12 to the last entry in page #12, all the write (append)
* In each page, there are hundreds of log entries, corresponding to hundreds to thousands of kafka messages. When the
* index gradually grows from the 1st entry in page #12 to the last entry in page #12, all the write (append)
* operations are in page #12, and all the in-sync follower / consumer lookups read page #0,6,9,11,12. As these pages
* are always used in each in-sync lookup, we can assume these pages are fairly recently used, and are very likely to be
* in the page cache. When the index grows to page #13, the pages needed in a in-sync lookup change to #0, 7, 10, 12,
Expand Down

0 comments on commit 7157958

Please sign in to comment.