You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an enhancement request to the gRPC proto that would return an enumerated detailed failure reason on gRPC requests that cannot be completed successfully. Today a boolean status field is all that exists in most response types, but a failed/false status does not give the client/user any indication of what went wrong. It would be nice to be able to determine the difference between a create request that failed because an input parameter was malformed versus because the resource already exists (can be treated as success in some cases).
Once the enum list is created, all response types should be updated to include a status and status reason (most have status already) and the server can be updated to set the fields appropriately in error paths.
Thanks
The text was updated successfully, but these errors were encountered:
This was implemented in PRs #343 and #352. The status returned by gRPC is now an errno code. Notice, that in most cases we don't know the exact problem as it is internal to SPDK. We just get a boolean status from SPDK whether the operation was successful or not.
Hi team -
This is an enhancement request to the gRPC proto that would return an enumerated detailed failure reason on gRPC requests that cannot be completed successfully. Today a boolean status field is all that exists in most response types, but a failed/false status does not give the client/user any indication of what went wrong. It would be nice to be able to determine the difference between a create request that failed because an input parameter was malformed versus because the resource already exists (can be treated as success in some cases).
I recommend the following as a minimum:
Once the enum list is created, all response types should be updated to include a status and status reason (most have status already) and the server can be updated to set the fields appropriately in error paths.
Thanks
The text was updated successfully, but these errors were encountered: