Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sentinel重试的逻辑写的有些问题 #1

Open
brucexx opened this issue May 12, 2016 · 3 comments
Open

sentinel重试的逻辑写的有些问题 #1

brucexx opened this issue May 12, 2016 · 3 comments

Comments

@brucexx
Copy link

brucexx commented May 12, 2016

sentinelRetry是为全局设置的,而且只有10次,应该为每个sentinel设置一个重试

@rocketballs
Copy link

他的重试死循环了

@warmbreeze
Copy link
Owner

你可以提交个PR@brucexx

@chenzz
Copy link

chenzz commented Sep 21, 2017

楼主在担心什么问题呢?担心下面这些情况?

  1. 线上有超过10台sentinel,获取某个分片信息时:前10台sentinel都获取不到,第11台才获取到分片信息?
  2. 线上有3台sentinel,获取某个分片信息时:3台sentinel一共重试了10次都获取不到,第11次重试才获取到分片信息?

这两种情况都不会出现吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants