You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Sijie Guo (JIRA)" <ji...@apache.org> on 2014/02/02 08:00:13 UTC

[jira] [Updated] (BOOKKEEPER-715) bookie: delay dropping journal cached pages

     [ 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)