mikemccand commented on PR #11796:
URL: https://github.com/apache/lucene/pull/11796#issuecomment-1255225299

   An alternative implementation would be to add the bytes only in the 
`IndexOutput.close` method instead of on each method that writes bytes?  It 
might be less error-proned, but, also less real-time since it won't be until 
the file is closed that we count any bytes in the shared counters.


-- 
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: issues-unsubscr...@lucene.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to