[ https://issues.apache.org/jira/browse/DL-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sijie Guo resolved DL-93. ------------------------- Resolution: Fixed > 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)