Hold off on AWS Aurora and Postgres until further notice
We've had a sudden crash of the underlying storage (apparently) on one of our production workloads - and because the crash is in the underlying storage the MultiAZ setting makes no difference. Neither the primary nor the replica work.
The point in time restore can't complete a restore to the last available point, so this looks like data loss to me. Points a earlier in time work fine, so might be an issue with a recent patch or failure.
I'm currently in conversation with support, will update when I have more information.
(
22 comments
| 67 points
| on HN
)
Hardware and software fail. Amazon does a better job mitigating the damage from failures than me, but their still still fails.
I'm sorry for your data loss. I hope the recovery isn't too painful. Live and learn.
Cloud is definitely not bullet-proof and risks are always there. I think it generally still wins however because as Cloud solutions get better, with better SLAs...companies can get better at what they specialize and offer.
At least that is the goal and how I understand it.
https://postgr.es/m/CAH2-Wz=GTnAPzEEZqYELOv3h1Fxpo5xhMrBP6aM...
It's possible that this upstream PostgreSQL issue affected you. What is known for sure is that there was a bugfix for GIN, that just missed the latest round of point releases. See:
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit...
This fix alone could have made all the difference here (though this is a guess). I assume you won't have this fix with Aurora just yet (not sure -- I don't work for Amazon). But, I'd mention this to AWS support if it seems at all relevant. Hopefully they'll get in touch with the community if that's what it is.
Good luck
@OP - I don't understand this line... can you explain more?
https://aws.amazon.com/rds/aurora/faqs/
"Each 10GB chunk of your database volume is replicated six ways, across three Availability Zones."
So, if there has been a storage layer failure, most likely it was a software bug in Aurora itself.