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

当 server 挂掉之后的容灾问题 #305

Open
wang007 opened this issue Mar 7, 2023 · 1 comment
Open

当 server 挂掉之后的容灾问题 #305

wang007 opened this issue Mar 7, 2023 · 1 comment
Labels
good first issue Good for newcomers question Further information is requested

Comments

@wang007
Copy link

wang007 commented Mar 7, 2023

当 server 挂掉之后,新启动的服务是优先拉取本地持久化到目录中的数据, 但使用这里的数据有个条件就是需要远程更新过才行。

  1. 那么调用时不能使用这里的数据(未远程更新), 还是需要查询 server,此刻 server 是挂掉的。
  2. 经过 timeout 之后,才使用本地缓存(持久化目录中的数据)。

问:这里是不是每次都需要经过 timeout 之后才能使用持久化数据?

@wang007 wang007 added the question Further information is requested label Mar 7, 2023
@chuntaojun
Copy link
Member

这一块是的,当前在 polaris-go 做了优化,我们也会在这两周把 polaris-java 这一块的逻辑也优化下

@chuntaojun chuntaojun added the good first issue Good for newcomers label Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants