You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by "Ivan Kelly (JIRA)" <ji...@apache.org> on 2017/10/17 21:28:03 UTC

[jira] [Commented] (BOOKKEEPER-934) Relax durability

    [ https://issues.apache.org/jira/browse/BOOKKEEPER-934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16208388#comment-16208388 ] 

Ivan Kelly commented on BOOKKEEPER-934:
---------------------------------------

Migrated to github https://github.com/apache/bookkeeper/issues/593

> Relax durability
> ----------------
>
>                 Key: BOOKKEEPER-934
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-934
>             Project: Bookkeeper
>          Issue Type: Improvement
>            Reporter: Jia Zhai
>              Labels: ghmigrated, iktriage0
>
> I am thinking adding a new flag to bookkeeper#addEntry(..., Boolean sync). So the application can control whether to sync or not for individual entries.
> - On the write protocol, adding a flag to indicate whether this write should sync to disk or not.
> - On the bookie side, if the addEntry request is sync, going through original pipeline. If the addEntry disables sync,    complete the add callbacks after writing to the journal file and before flushing journal.
> - Those add entries (disabled syncs) will be flushed to disks with subsequent sync add entries.
> There is already a discussion in mail thread, here this ticket could gather ideas, and provide the discussion materials



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)