todo list 不错
1. Sid: shared a public link to this document from @
gitlabstatus,
https://twitter.com/gitlabstatus/status/826591961444384768 2. Update sentry DSN to production as it ’ s updated for staging to point to a different project
3. Try to restore webhooks
4. Remove the users we removed earlier today due to spam/abuse.
5. Create outage issue
6. Create issue to change terminal PS1 format/colours to make it clear whether you ’ re using production or staging (red production, yellow staging)
7. Show the full hostname in the bash prompt for all users by default (e.g., “
db1.staging.gitlab.com ” instead of just “ db1 ”)
8. Somehow disallow rm -rf for the PostgreSQL data directory? Unsure if this is feasible, or necessary once we have proper backups
9. Add alerting for backups: check S3 storage etc.
10. Consider adding a last successful backup time in DB so admins can see this easily (suggested by customer in
https://gitlab.zendesk.com/agent/tickets/58274)
11. Figure out why PostgreSQL suddenly had problems with max_connections being set to 8000, despite it having been set to that since 2016-05-13. A large portion of frustration arose because of this suddenly becoming a problem.
12. Upgrade dbX.cluster to PostgreSQL 9.6.1 as it ’ s still running the pinned 9.6.0 package (used for the Slony upgrade from 9.2 to 9.6.0)
13. Flush Redis cache once the DB has been restored
14. Add server hostname to bash PS1 (avoid running commands on the wrong host)