You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2020/12/16 08:06:03 UTC

[GitHub] [rocketmq] dongeforever edited a comment on pull request #2487: [ISSUE #2476] Fix HaClient Infinite loop

dongeforever edited a comment on pull request #2487:
URL: https://github.com/apache/rocketmq/pull/2487#issuecomment-745866852


   @crazywen It is not a good way to fix the BUFFER SIZE.  You could introduce another config(for example haReceiveBatchSize) to control the HAClient read buffer size, which is now fixed to 4M by READ_MAX_BUFFER_SIZE.
   And then make sure the haTransferBatchSize is equal or smaller than haReceiveBatchSize.
   
   


----------------------------------------------------------------
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.

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