[QFJ-974] Session+FileStore reset fails indefinitely when stream closed Created: 23/Apr/19 Updated: 06/Jun/21 |
|
Status: | Open |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 2.1.1 |
Fix Version/s: | None |
Type: | Bug | Priority: | Default |
Reporter: | amichair | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 1 |
Labels: | None |
Description |
If the FileStore stream is closed for any unexpected reason, the reset will fail indefinitely even if the original cause is fixed (or was just a transient error), since it will continue to try and flush/closed the failed stream, instead of truly resetting and opening a new one. In our case the error was triggered by the disk being full (space was then freed up), but any reason for closing the stream could get the store stuck in this unrecoverable state. Perhaps the store reset mechanism should be made more robust so that it really tries to reset even in this unexpected state rather than require the application to be restarted manually. quickfix.RuntimeError: java.io.IOException: Stream Closed |
Comments |
Comment by Sergei [ 06/Jun/21 ] |
13:35:17.885 QFJ Timer ERROR quickfix.SocketInitiator.run:356 - Error during timer processing Same issue What file might be the problem? - java.io.FileOutputStream.writeBytes |