io_error should cause the process to die and restart, to prevent repeated recruitment of a bad disk

This commit is contained in:
Evan Tschannen 2018-07-06 14:42:36 -07:00
parent 7d54ca4dc2
commit 9015b8038f
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ ACTOR Future<Void> workerHandleErrors(FutureStream<ErrorInfo> errors) {
endRole(err.id, err.context, "Error", ok, err.error);
if (err.error.code() == error_code_please_reboot || err.error.code() == error_code_io_timeout) throw err.error;
if (err.error.code() == error_code_please_reboot || err.error.code() == error_code_io_timeout || err.error.code() == error_code_io_error) throw err.error;
}
}
}