Hacker News new | ask | show | jobs
by GordonS 1328 days ago
It would catch up by reading the WAL files when it restarted - using this method, the WAL files will remain on disk until they've been read.
1 comments

beware of subscribers being down. wal file will fill-up and then you’ll loose messages.
Won't it just... write more WAL files?
yes, until you run out of disk - it's happy to write as much as you can handle.

but, disk isn't usually infinite.

Well of course, but I don't feel like this is a noteworthy limitation here; it applies to any form of queue that persists messages.

I had imagined the GP might have been insinuating something like: a configurable number of WAL files would be written, then they'll be overwritten once all full.

I mean running out of disk is a danger for any persistence, that's not specific to using WAL