mikemccand commented on a change in pull request #1397: LUCENE-9304: Refactor
DWPTPool to pool DWPT directly
URL: https://github.com/apache/lucene-solr/pull/1397#discussion_r403704655
##########
File path:
lucene/core/src/java/org/apache/lucene/index/DocumentsWriterPerThread.java
##########
@@ -156,6 +158,9 @@ void abort() throws IOException{
final BufferedUpdates pendingUpdates;
final SegmentInfo segmentInfo; // Current segment we are working on
private boolean aborted = false; // True if we aborted
+ private SetOnce<Boolean> flushPending = new SetOnce<>();
+ private volatile long lastCommittedBytesUsed = 0;
Review comment:
`= 0` isn't needed -- it's Java's default already.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]