distributedlog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sijie Guo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DL-93) LogSegmentMetadataStore should only notify when the list of log segments is updated
Date Tue, 06 Dec 2016 16:49:58 GMT
Sijie Guo created DL-93:
---------------------------

             Summary: 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