ray-project / rayfed

A multiple parties joint, distributed execution engine based on Ray, to help build your own federated learning frameworks in minutes.
https://rayfed.readthedocs.io
Apache License 2.0
87 stars 20 forks source link

Handle Job-Mismatch request #174

Closed NKcqx closed 11 months ago

NKcqx commented 11 months ago

The job mismatch request should be identified as a sending failure because the request's content is not yet processed, though the request was physically sent.

This PR distinguished the error code in [400, 500), which indicates a "request error", and throws an exception as other types of sending failure did.