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 2017/06/05 20:26:04 UTC

[jira] [Resolved] (BOOKKEEPER-748) Move fence requests out of read threads

     [ https://issues.apache.org/jira/browse/BOOKKEEPER-748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sijie Guo resolved BOOKKEEPER-748.
----------------------------------
    Resolution: Fixed

Issue resolved by merging pull request 174
            [https://github.com/apache/bookkeeper/pull/174]

            {noformat}
            commit 58b92de8b5feee37f8bc9a99d8c98c2a9d9df383
Author:     Sijie Guo <si...@apache.org>
AuthorDate: Mon Jun 5 13:25:17 2017 -0700
Commit:     Sijie Guo <si...@apache.org>
CommitDate: Mon Jun 5 13:25:17 2017 -0700

    BOOKKEEPER-748: Move fence requests out of read threads
    
    This change is moving the fence request out of current read threads and using callback to trigger scheduling read entry and also it refactors the ReadEntryProcessV3 to support long poll in the subsequent requests.
    
    Major changes:
    
    - change fence request to use SettableFuture
    - refactor ReadEntryProcessV3: to support run fence request in callback and support long poll (in subsequent requests)
    - fix stats issue: requests stats measure the latency from bookie receives the request until it sends the response.
    - remove "public static final" for state fields. it is not needed for variables in Interface.
    
    Author: Sijie Guo <si...@apache.org>
    Author: Robin Dhamankar <rd...@twitter.com>
    
    Reviewers: Enrico Olivelli <eo...@gmail.com>, Jia Zhai <None>
    
    Closes #174 from sijie/longpoll/part1_server_side_change

            {noformat}
            

> Move fence requests out of read threads
> ---------------------------------------
>
>                 Key: BOOKKEEPER-748
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-748
>             Project: Bookkeeper
>          Issue Type: Improvement
>          Components: bookkeeper-server
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>             Fix For: 4.5.0
>
>
> move fence requests out of read threads to address TODO.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)