jpountz commented on code in PR #12205:
URL: https://github.com/apache/lucene/pull/12205#discussion_r1139165859
##########
lucene/core/src/java/org/apache/lucene/index/DocumentsWriterFlushControl.java:
##########
@@ -133,7 +156,7 @@ private boolean assertMemory() {
// peak document
final long expected =
(2 * ramBufferBytes)
- + ((numPending + numFlushingDWPT() + numBlockedFlushes()) *
peakDelta)
+ + ((numPending + numFlushingDWPT()) * peakDelta)
Review Comment:
is it a bug that queued flushes were not considered before?
--
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]