[
https://issues.apache.org/jira/browse/CURATOR-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16933013#comment-16933013
]
HonglunChen commented on CURATOR-540:
-------------------------------------
[~cammckenzie], like Jordan's advice, I call
CuratorFramework.blockUntilConnected() before starting PathChildrenCache to
avoid this. I met this issue after upgrading curator 2.7 to 2.13, I thought it
was a bug. But on the other hand, as join says, it's probably not a bug. Now
I'm not sure it needs fixing.
> BUILD_INITIAL_CACHE mode will post history child on start
> ---------------------------------------------------------
>
> Key: CURATOR-540
> URL: https://issues.apache.org/jira/browse/CURATOR-540
> Project: Apache Curator
> Issue Type: Bug
> Components: Recipes
> Affects Versions: 2.12.0, 2.13.0
> Reporter: HonglunChen
> Priority: Major
> Attachments: image-2019-09-16-12-43-01-588.png
>
>
> I debugged and found the root cause : In PathChildrenCache, CONNECTED state
> is triggered before currentData initializes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)