Skip to content

Commit aca7dcc

Browse files
committed
status: add Busy status code, fix #344
Signed-off-by: Roman Khimov <roman@nspcc.ru>
1 parent 73bc1b0 commit aca7dcc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

proto-docs/status.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ Section of failed statuses independent of the operation.
9191
| SIGNATURE_VERIFICATION_FAIL | 2 | [**1026**] Signature verification failure. |
9292
| NODE_UNDER_MAINTENANCE | 3 | [**1027**] Node is under maintenance. |
9393
| BAD_REQUEST | 4 | [**1028**] Malformed, syntactically or semantically incorrect request, client-side error. |
94+
| BUSY | 5 | [**1029**] Some node resources are exhausted and request can't be processed. This is likely to be a transient state and request can be retried in future. |
9495

9596

9697

status/types.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ enum CommonFail {
111111
// [**1028**] Malformed, syntactically or semantically incorrect request,
112112
// client-side error.
113113
BAD_REQUEST = 4;
114+
115+
// [**1029**] Some node resources are exhausted and request can't be
116+
// processed. This is likely to be a transient state and request can be
117+
// retried in future.
118+
BUSY = 5;
114119
}
115120

116121
// Section of statuses for object-related operations.

0 commit comments

Comments
 (0)