Skip to content

[Bug] 启动时连接 mongodb 失败, 未退出服务 #4097

Closed Answered by czy88840616
qwang1113 asked this question in Q&A
Discussion options

You must be logged in to vote

这应该不算 bug

  • 1、启动不成功是需要业务开发上线前保证的,这个在线上会由健康检查来处理,所以未启动成功不会影响实际业务
  • 2、启动错误是否退出,由错误是否能捕获决定,如果是不可逆转的错误(process 捕获级别),才会退出
  • 3、组件是否成功的检查,这个会在 v4 考虑加一个超时和检查机制,明确哪个组件没有启动成功

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by qwang1113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type: question / discussion This issue or pull request need be discussion
2 participants