Skip to content

デバイスの不調を検出できるようにする#45

Open
koba-e964 wants to merge 7 commits intomasterfrom
feature/better-device-failure-handling
Open

デバイスの不調を検出できるようにする#45
koba-e964 wants to merge 7 commits intomasterfrom
feature/better-device-failure-handling

Conversation

@koba-e964
Copy link
Contributor

@koba-e964 koba-e964 commented Jul 9, 2020

デバイスの不調の兆候を検出して、対応ができるようにします。
以下の兆候を検出します:
(1) I/O のレイテンシ増大。具体的には、x 回の I/O にかかる時間が y 秒以上であれば不調と判定する。
(2) I/O エラー増加。具体的には、x 秒以内に I/O エラーが x 回以上起起これば不調と判定する。

また、不調と判定した後、対応として以下が選択できます:
(1) すぐにデバイスを止める
(2) n 回までは耐える
(3) 無視してそのままデバイスを動かす (止めるのであれば手動でデバイスを止める想定)

@koba-e964 koba-e964 force-pushed the feature/better-device-failure-handling branch from fe07022 to b8e8e47 Compare July 9, 2020 09:59
@koba-e964 koba-e964 marked this pull request as ready for review July 9, 2020 10:05
@koba-e964 koba-e964 changed the title デバイスのエラーを検出できるようにする デバイスの不調を検出できるようにする Jul 9, 2020
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

Successfully merging this pull request may close these issues.

2 participants