vigyasharma opened a new pull request, #1014:
URL: https://github.com/apache/lucene/pull/1014

   This PR is based on the discussion in #738 
([comment](https://github.com/apache/lucene/pull/738#issuecomment-1156523966)]..
 
   
   `RateLimitedIndexOutput.writeBytes()` does not pause while writing the 
provided array slice. A big array write after a long pause can cause instant 
write rate to breach the configured limit. This is different from the other 
APIs, which only write a single byte/int/short/long, and hence won't spike the 
instant rate. 
   
   This has been a cause of confusion for some users. The PR adds a comment to 
call it out. More details in jira 
[LUCENE-10448](https://issues.apache.org/jira/browse/LUCENE-10448).
   


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