SAY-5 opened a new pull request, #847:
URL: https://github.com/apache/commons-io/pull/847

   `isThresholdExceeded()` now returns the tracked `thresholdExceeded` flag 
instead of `written > threshold`, so it stays consistent with 
`checkThreshold()` and with `DeferredFileOutputStream.isInMemory()`. 
`checkThreshold()` also rolls back the flag if `thresholdReached()` throws, so 
a failed event no longer prevents the stream from re-firing it and no longer 
leaves `DeferredFileOutputStream` in an inconsistent in-memory/on-disk state.
   
   Closes #IO-867 (https://issues.apache.org/jira/browse/IO-867).


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

Reply via email to