Details
-
Bug
-
Status: Patch Available
-
Critical
-
Resolution: Unresolved
-
3.0.0-alpha-1, 2.2.0
-
None
-
None
Description
Manifests at least with AsyncFsWriter.
There's a window after LogRoller replaces the writer in the WAL, but before it sets the rollLog boolean to false in the finally, where the WAL class can request another log roll (it can happen in particular when the logs are getting archived in the LogRoller thread, and there's high write volume causing the logs to roll quickly).
LogRoller will blindly reset the rollLog flag in finally and "forget" about this request.
AsyncWAL in turn never requests it again because its own rollRequested field is set and it expects a callback. Logs don't get rolled until a periodic roll is triggered after that.
The acknowledgment of roll requests by LogRoller should be atomic.
Attachments
Attachments
Issue Links
- links to