-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
Fix resource health check process | ||
|
||
* Do not resume all buffer workers on successful health check. Previously after a successful healthcheck all buffer workers (for all resources) were resumed | ||
|
||
* Do not pass undefined state to resource health check callback. If `on_start` callback never succeeded, the state of the resource is undefined. There is no sense to pass it to `on_get_status` callback. | ||
Do not resume all buffer workers on successful health check of any individual resource. | ||
Previously after any successful healthcheck, all buffer workers (for all resources) were resumed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
修复资源健康检查流程 | ||
|
||
* 不要在健康检查成功时恢复所有缓冲区工作者。 之前,在成功进行健康检查后,所有缓冲区工作人员(针对所有资源)都已恢复 | ||
|
||
* 不要将未定义的状态传递给资源健康检查回调。 如果 `on_start` 回调从未成功,资源的状态是未定义的。 将它传递给 `on_get_status` 回调是没有意义的。 | ||
不在任意一个资源健康检查成功时恢复所有资源发送缓存。 | ||
在此修复之前,在任意一个资源成功进行健康检查后,所有资源的缓存都会尝试恢复。 |