Zoho Invoice Service Interruption - Root Cause Analysis

Zoho Invoice Service Interruption - Root Cause Analysis

On May 31st 2012, between 8:43 PDT and 9:37 PDT Zoho Invoice was unreachable. This being a month end, many of our customers were affected and we deeply apologize for this interruption in service.

I am sharing our findings on the root cause of this service interruption here and lessons that we had learned. 

The key flaw that caused this outage was a database operation that resulted in the  Zoho Invoice MYSQL master database going down. When the MYSQL master server goes down, we have a MYSQL slave that takes over to ensure that the service continues to run uninterruptedly. Unfortunately for us, in this particular episode, a bug surfaced in a piece of code that tried to access the database during this master-slave transition disallowing the application to resume smoothly. This meant that even though the original problem of database hanging resolved itself, the applications couldn't start. We restarted the application and database and things were back to normal.

While the entire episode could have got over in less than 20 minutes, it took almost an hour for our customers to access Zoho Invoice. The operations team was unaware of the software bug that was introduced that was triggered during the database fail-over. We have taken several steps to improve our service - like aggressively pushing all our services to provide a read only access from disaster recovery site (Zoho CRM, Mail and Creator already do this) and of course fixing the bug that resulted in this interruption in the first place and to always err on the side of caution as far as service interruptions are concerned.

We apologize again for this outage. We would like to assure all our customers that we take reliability of Zoho Invoice and all other services very seriously and have taken serious steps to prevent these in future.

Thank you for the continued trust and confidence in Zoho.

Regards
Prashant

      • Sticky Posts

      • Zoho Invoice Will Soon Discontinue Support for Older Browser Versions

        Hello users, Starting from May 15, 2024, Zoho Invoice will no longer support the following browser versions: Browsers Version Restrictions Firefox Browser Versions older than 100 Google Chrome Versions older than 100 Microsoft Edge Versions older than
      • Bulk Printing now available in Zoho Invoice

        Hello, We are happy to announce the much requested and much awaited feature in Zoho Invoice - Bulk Printing of Estimates and Invoices. All you need to do is, select the invoices you wish to print and then click the 'Print' button. All the invoices will be downloaded as a single PDF file which can be printed as you wish. You can print upto 25 invoices at a single go. Go ahead and give it a shot and let us know how it worked for you. Regards, Reshma   
      • Introducing the iPhone App for Zoho Invoice

        Now you can invoice on the go from your iPhone through the Zoho Invoice iPhone app. Our iPhone app is available at the apps store for download. The app is special in more ways than one: An impeccable UI takes your invoicing experience to a whole new level That's a first native app we've come up with It's available for FREE!!!!! Yeah, absolutely Free. No brainer there, we just wanted to make our users to enjoy the app no strings attachedHere some snapshots of the app: For the real experience, head