This is an automated email from the ASF dual-hosted git repository.
lizhanhui pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-apis.git
The following commit(s) were added to refs/heads/main by this push:
new 326d068 Promote ProxyTimeout as its error category delegator
326d068 is described below
commit 326d068ae07e765e17cb04b79f55c91ce76fb233
Author: Li Zhanhui <[email protected]>
AuthorDate: Thu Jun 30 14:57:14 2022 +0800
Promote ProxyTimeout as its error category delegator
---
apache/rocketmq/v2/definition.proto | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/apache/rocketmq/v2/definition.proto
b/apache/rocketmq/v2/definition.proto
index 52bc8f2..1ff7adb 100644
--- a/apache/rocketmq/v2/definition.proto
+++ b/apache/rocketmq/v2/definition.proto
@@ -397,16 +397,13 @@ enum Code {
// functionality required to fulfill the request.
NOT_IMPLEMENTED = 50100;
- // Generic code for timeout.
- TIMEOUT = 50400;
+ // Generic code represents that the server, which acts as a gateway or proxy,
+ // does not get an satisfied response in time from its upstream servers.
+ PROXY_TIMEOUT = 50400;
// Message persistence timeout.
MASTER_PERSISTENCE_TIMEOUT = 50401;
// Slave persistence timeout.
SLAVE_PERSISTENCE_TIMEOUT = 50402;
- // Code indicates that the server, while acting as a gateway or proxy,
- // did not get a response in time from the upstream server that
- // it needed in order to complete the request.
- PROXY_TIMEOUT = 50403;
// Generic code for unsupported operation.
UNSUPPORTED = 50500;