Fix MergeStatus::check_delayed_error: Empty fail message is not an error.
@@ -138,8 +138,10 @@ MergeStatus::check_delayed_error(api::ReturnCode &return_code)
future_error.wait();
vespalib::string fail_message = future_error.get();
delayed_error.reset();
+ if (!fail_message.empty()) {
return_code = api::ReturnCode(api::ReturnCode::INTERNAL_FAILURE, std::move(fail_message));
}
}
+}
};
