[
https://issues.apache.org/jira/browse/BOOKKEEPER-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sijie Guo updated BOOKKEEPER-715:
---------------------------------
Attachment: BOOKKEEPER-715.diff
BOOKKEEPER-715_717.diff
attach a patch to introduce LAG for dropping cached pages. otherwise, it might
drop the pages that might be accessed in next appends.
BTW, refactor NativeIO to use fd, not use FileDescriptor
this change is based on BOOKKEEPER-717. attach a diff based on BOOKKEEPER-717.
and attach a diff based on trunk (which includes BOOKKEEPER-717) for pre-commit
job.
> bookie: delay dropping journal cached pages
> -------------------------------------------
>
> Key: BOOKKEEPER-715
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-715
> Project: Bookkeeper
> Issue Type: Sub-task
> Components: bookkeeper-server
> Reporter: Sijie Guo
> Assignee: Sijie Guo
> Fix For: 4.3.0
>
> Attachments: BOOKKEEPER-715.diff, BOOKKEEPER-715_717.diff
>
>
> As journal writes aren't aligned to sector size, if bookie drops cached pages
> immediately, journal has to read those pages again, which would impact
> journal write performance.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)