sadanand48 commented on pull request #2701: URL: https://github.com/apache/ozone/pull/2701#issuecomment-947445375
> We may create a new StreamBuffer as shown above. Then, we can use ==. Tried it with the current change. It seems working; please test it: https://issues.apache.org/jira/secure/attachment/13035081/StreamBuffer.patch We are not comparing duplicated buffers here, since the same StreamBuffer object is present in bufferList and the commitInfoMap so we can use equals() and since its on the new StreamBuffer Class it will not compare every byte of the ByteBuffer if I am not wrong, -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
