Skip to content

Commit 208f832

Browse files
authored
[ISSUE#9160] Ensure the requestCode increments sequentially
1 parent de4e48d commit 208f832

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RequestCode.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@ public class RequestCode {
213213
public static final int PUSH_REPLY_MESSAGE_TO_CLIENT = 326;
214214

215215
public static final int ADD_WRITE_PERM_OF_BROKER = 327;
216+
217+
public static final int GET_ALL_PRODUCER_INFO = 328;
218+
219+
public static final int DELETE_EXPIRED_COMMITLOG = 329;
216220

217221
public static final int GET_TOPIC_CONFIG = 351;
218222

@@ -246,10 +250,6 @@ public class RequestCode {
246250

247251
public static final int RESET_MASTER_FLUSH_OFFSET = 908;
248252

249-
public static final int GET_ALL_PRODUCER_INFO = 328;
250-
251-
public static final int DELETE_EXPIRED_COMMITLOG = 329;
252-
253253
/**
254254
* Controller code
255255
*/

0 commit comments

Comments
 (0)