yuz10 commented on code in PR #457:
URL: 
https://github.com/apache/rocketmq-client-cpp/pull/457#discussion_r1376981014


##########
src/producer/DefaultMQProducerImpl.cpp:
##########
@@ -410,7 +410,7 @@ SendResult 
DefaultMQProducerImpl::sendDefaultImpl(MQMessage& msg,
           case ComMode_ONEWAY:
             return sendResult;
           case ComMode_SYNC:
-            if (sendResult.getSendStatus() != SEND_OK) {
+            if (sendResult.getSendStatus() != SEND_OK && 
m_retryAnotherBrokerWhenNotStoreOk) {

Review Comment:
   The default behavior is changed, because default 
m_retryAnotherBrokerWhenNotStoreOk is false, should add docs



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to