sigram opened a new pull request, #4887:
URL: https://github.com/apache/solr/pull/4887

   Details in Jira.
   
   Added unit test to verify and illustrate how the zero-byte padding works as 
the document size increases above the 8192 bytes boundary.
   
   More often than not the padding ends up much longer than the 10% limit 
introduced in this PR. You can observe this by commenting out the clampdown 
logic in `ExposedByteArrayOutputStream.byteArray()`. All these zero-bytes had 
to be pushed over the wire to source Kafka, through the MirrorMaker and to the 
target Kafka and Consumer, wasting disk space and network IO.
   
   AI disclosure: AI coding assistant was used for code review and some of the 
PR preparation.


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

Reply via email to