During an routine update we encountered an error with the database. No worries, all seems well now.
Details: A previous version of discourse created a duplicate entry for a user or tag that got its capitalization changed, and failed to delete the previous entry. The index was updated and worked fine but the entry was still there. This totaled ~10 tags and 2 users.
I simply added a “1” to the duplicate entries and split them into two distinct entities.
Normally when there is an issue updating I would see the fail, and not transfer from staging to production. I fat fingered updating our whole stack. To remedy this I will remove the ability to update from the web interface. When the crash occurred I had the option to restore back to 1500pst or attempt a recovery of current DB. Restore would have been faster but manual fix saved all data.