revolution-irc icon indicating copy to clipboard operation
revolution-irc copied to clipboard

history/logs lost on abrupt shutdown

Open kurahaupo opened this issue 2 years ago • 1 comments

As I mentioned in #287, if the app is terminated abruptly, upon restarting the most recent content from the channels and privmsgs is missing; typically I can see all message older than 12 to 48 hours, and then nothing until the restart. The cut-off is consistent across all channels; they all appear to have stopped recording at the same time.

The most common proximate cause seems to be device shut-down/reboot, either because the battery goes flat, or once a month at 4am after an automatic OS upgrade.

It's particularly distressing to find that some important PM has been lost because the device has shut down or rebooted while unattended.

It seems likely that this is retrospective erasure of the most recent messages, rather than a failure to (attempt to) record them. Perhaps the message logs are buffered in-memory, and that's not being properly flushed to storage?

-Martin

kurahaupo avatar May 01 '22 16:05 kurahaupo

I figured out how to turn off unattended automatic OS upgrades, now I just have to figure out how to permanently avoid a flat battery.

kurahaupo avatar May 01 '22 16:05 kurahaupo