We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72a2462 commit 2f44c63Copy full SHA for 2f44c63
src/ray/rpc/rpc_chaos.cc
@@ -82,6 +82,12 @@ class RpcFailureManager {
82
}
83
84
for (auto &[method, config] : json.items()) {
85
+ if (!config.is_object()) {
86
+ RAY_LOG(FATAL) << "Value for method '" << method
87
+ << "' in testing_rpc_failure config is not a JSON object: "
88
+ << config.dump();
89
+ continue;
90
+ }
91
for (const auto &[config_key, _] : config.items()) {
92
if (config_key != "num_failures" && config_key != "req_failure_prob" &&
93
config_key != "resp_failure_prob" &&
0 commit comments