Skip to content

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

Open
@wang007

Description

@wang007

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions