Incident Library
Applied filters SymptomData lossOrganisationOregon State University Open Source LabClear allEvery case under the filters, with no sentence; newest first.
Suggested filters Search, and the values found in your words appear here.

Graph

  • Root cause
  • Component
  • Symptom
  • Contributing factor
  • Case

Cases1 case

1 to 1 of 1

  1. Symptoms

    On July 30th, a few minutes after the OSU Open Source Lab started reloading the MySQL server mysql2 to fix its replication errors, the team saw that databases were being dropped on mysql1 as well. The script was stopped, and the MySQL service behind mysql1-vip stayed down through a long restore.

    Trigger

    On July 30th at 4:00PM PDT the team stopped slave replication on mysql2 and began dropping its databases one at a time to reload it and fix replication errors.

    Root cause
    Component
    Contributing factor
    Detection

    The team watching the reload noticed after a few minutes that mysql1 was also dropping databases; the delays between drops in the script gave them that time.

    Remediation
    • Stopped the script that was dropping databases
    • Restored the databases from the mysql-zrm backups
    • Pulled each database that failed to restore out of the 200GB backup file and restored it separately
    • Recovered most data with the binary logs from the 17th through the 30th
    Action items
    • Evaluate better replication strategies, including row-based replication
    • Store binlogs as a backup on a separate server
    • Take backups with Percona XtraBackup for much faster full restores
    • Use mydumper instead of mysql-zrm for faster logical backups
    • Improve documentation and training for complex systems
    • Test full restores regularly on a spare server as part of the backup process
    • Gather more accurate time estimates for the restore process
    • Audit the hosted databases regularly, since test and very large databases delayed the restore
    • Migrate to a bigger, more powerful MySQL cluster
    • Set a policy and tools to keep the community informed of outages, maintenance and resource use, with dashboards
    • Define and monitor capacity limits for core services
    • Implement redundancy and restore practices for core services, including staff drills
    • Migrate more core services to Chef
    • Review documentation, policies and performance metrics periodically
    • Find better ways to draw on community expertise
    • Raise funds to replace the oldest infrastructure and reduce technical debt
    Lessons

    The lab had stretched its resources to host as many projects as possible, and that came with tradeoffs such as heavily compressed backups to save disk and less redundancy than wanted; the heavy compression made this restore CPU-bound. The lab concluded that it needs to change how it plans, monitors and manages resources, and that the length of the outage and the lack of progress reports were not acceptable.

Check your cluster for this

This case involves Database and Database backups and snapshots. kubegap audits a Kubernetes cluster for gaps like these, read-only, from Claude Code or Codex; its checks cite public reports like the ones in this library.

By root cause1