#Vivaldi #mastodon data #corruption #postmortem.
Very nice write up for a very ugly situation.
https://thomasp.vivaldi.net/2023/07/28/what-happened-to-vivaldi-social/
#Vivaldi #mastodon data #corruption #postmortem. Very nice write up for a very ugly situation. https://thomasp.vivaldi.net/2023/07/28/what-happened-to-vivaldi-social/ 4 comments
@J12t quite interesting read indeed... I would've probably tried sed first for the 54GB edits, or used head/tail in line mode... Assuming file is proper text with newlines of course (IIRC how MySQL dumps are, I don't know about PostgreSQL). In any case with vim use binary+noeol for edits of huge and/or binary files. 🙂 |
@J12t I guess this is mandatory reading for all #mastoadmin people that run PostgreSQL in a replication setup with read access to the standby server.