distributedlog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DL-93) LogSegmentMetadataStore should only notify when the list of log segments is updated
Date Wed, 21 Dec 2016 08:11:58 GMT

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

ASF GitHub Bot commented on DL-93:
----------------------------------

Github user sijie closed the pull request at:

    https://github.com/apache/incubator-distributedlog/pull/66


> LogSegmentMetadataStore should only notify when the list of log segments is updated
> -----------------------------------------------------------------------------------
>
>                 Key: DL-93
>                 URL: https://issues.apache.org/jira/browse/DL-93
>             Project: DistributedLog
>          Issue Type: Improvement
>          Components: distributedlog-core
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>             Fix For: 0.4.0
>
>
> Currently it notifies the listeners not only when there is a change but also when session
expires. it would break the reada
> head loop and cause readers have to wait until it is able to connect to zookeeper again.
>     With this change, it would only notify when the list of log segments is updated.
If it disconnects to zookeeper, the listen
> er won't be notified and it would keep reading from the log segments it knows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message