merlimat commented on a change in pull request #6606: Fix non-atomic volatile 
update
URL: https://github.com/apache/pulsar/pull/6606#discussion_r405703767
 
 

 ##########
 File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java
 ##########
 @@ -1759,7 +1762,7 @@ public boolean isWritable() {
     }
 
     public void startSendOperation(Producer producer, int msgSize) {
-        messagePublishBufferSize += msgSize;
 
 Review comment:
   All operations on a connection are happening on same thread

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to