Github user shroman commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/57#discussion_r101456741 --- Diff: store/src/main/java/org/apache/rocketmq/store/CommitLog.java --- @@ -1154,7 +1249,7 @@ public AppendMessageResult doAppend(final long fileFromOffset, final ByteBuffer if (propertiesLength > Short.MAX_VALUE) { log.warn("putMessage message properties length too long. length={}", propertiesData.length); - return new AppendMessageResult(AppendMessageStatus.PROPERTIES_SIZE_EXCEEDED); + throw new RuntimeException("PROPERTIES_SIZE_EXCEEDED"); --- End diff -- By changing to this, `PROPERTIES_SIZE_EXCEEDED` won't be caught in the following switch.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---