alibaba / alibaba/Sentinel

sentinel-datasource-zookeeper jar包中initZookeeperListener方法nodeCache启动初始化时并没有加载节点数据

Open
#2,288 1 comment 0 reactions 0 assignees View on GitHub
area/data-source
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

## Issue Description

Type: *bug report*

### Describe what happened (or what feature you want)
sentinel-datasource-zookeeper jar包中initZookeeperListener方法nodeCache启动初始化时并没有加载节点数据

### Describe what you expected to happen
初始化需要加载zookeeper节点数据

### How to reproduce it (as minimally and precisely as possible)
调用nodeCache.start(true)
![image](https://user-images.githubusercontent.com/20569381/125220561-89b4e580-e2f9-11eb-90f1-b4d0ac64ab05.png)

### Tell us your environment

### Anything else we need to know?

Contributor guide

Open the contributing guide

Research direction

Start by locating initZookeeperListener in the sentinel-datasource-zookeeper code and reproduce the behavior with nodeCache.start(true). Check whether startup loads the existing ZooKeeper node data; done means initialization observes and loads the node data as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.