You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by li...@apache.org on 2022/04/07 08:45:47 UTC

[rocketmq-apis] branch v2 updated: Supply more code in status (#19)

This is an automated email from the ASF dual-hosted git repository.

lizhanhui pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/rocketmq-apis.git


The following commit(s) were added to refs/heads/v2 by this push:
     new d2303d7  Supply more code in status (#19)
d2303d7 is described below

commit d2303d777125e7e749143f33d1872d6681a035e5
Author: Aaron Ai <ya...@alibaba-inc.com>
AuthorDate: Thu Apr 7 16:45:43 2022 +0800

    Supply more code in status (#19)
---
 apache/rocketmq/v2/definition.proto | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/apache/rocketmq/v2/definition.proto b/apache/rocketmq/v2/definition.proto
index 1a6cfc4..6679253 100644
--- a/apache/rocketmq/v2/definition.proto
+++ b/apache/rocketmq/v2/definition.proto
@@ -435,6 +435,24 @@ enum Code {
   // Receipt handle of message is invalid.
   INVALID_RECEIPT_HANDLE = 24;
 
+  // Message persistence timeout.
+  MASTER_PERSISTENCE_TIMEOUT = 25;
+
+  // Slave persistence timeout.
+  SLAVE_PERSISTENCE_TIMEOUT = 26;
+
+  // The HA-machanism is not working now.
+  HA_NOT_AVAILABLE = 27;
+
+  // Operation is not allowd in current version.
+  VERSION_UNSUPPORTED = 28;
+
+  // Message not found from server.
+  MESSAGE_NOT_FOUND = 29;
+
+  // Message offset is illegal.
+  ILLEGAL_MESSAGE_OFFSET = 30;
+
   // Code indicates that the server encountered an unexpected condition
   // that prevented it from fulfilling the request.
   // This error response is a generic "catch-all" response.