Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Date

Authors

Marcello Fabbri (Unlicensed) Liban Hirey (Unlicensed)

Status

Done

Summary

When a new RabbitMQ broker was created in AWS, we forgot to migrate omitted migrating the ESR DataExport service to it (all other services were migrated fine). When the old broker was deleted it triggered errors on the DataExport service.

Impact

No Users reported any problems during the incident.

...

The ESR DataExport service was not migrated over in time therefore there was a possibility of having some application and notification data confirmations missing following the deletion of the old broker.

...

Slack notification from Sentry @ 10:11 on 30/07/2021.

...

Resolution

Timeline

...

Resolution

  • Updated the configuration for the DataExportService.

  • The DataExportService not being on the new Rabbit broker for longer than a day made us presume that evidence of missing data could be found by investigating the esr.queue.apprecord.created.dataexporter queue, where messages would be likely to stall unconsumed by any service (until the deletion of the old broker). The Audit database though would still have these messages, so we’d be able to see if anything went through that queue during that period of time, and if that flow of data was successful or not.

  • We looked at a message found to have gone through that queue during the period the DataExportService was not the new Rabbit broker (a placement update, at 2:31 AM on 30/07/2021) and retrieved its trail through its correlationId: metabase link.

    Image Added

  • We checked whether that record had been exported by the DataExporter or not and it seems like it did, presumably proving data has been exported regardless of this issue (probably stored/pent up somewhere in the ESR interface and then finally flowing through once the DataExportService got put on the new Rabbit broker).

    Image Added

This list of GeneratedAppRecords appears to have been successfully exported by the EsrDataExportService, as seen on the PendingExport table. However some Placements have not updated their esr status on TIS and will require to be manually corrected.

Timeline

: 15:00 - Other services migrated to new RabbitMQ broker (STAGE)

: 11:25 - Other services migrated to new RabbitMQ broker (PROD)

: 10:05 - Old RabbitMQ broker deleted from AWS by Liban

...

: 11:11 - Liban and Marcello start investigating to verify whether any data is missing

e.g. check DB for Applicants exported 27th-29th:

  • Placements should have a tick

  • Message in the audit database

  • Confirm Exporter sent Applicants as expected

Root Cause(s)

Deletion of the old RabbitMQ broker in AWS.

Dispersed/scattered configuration

Lessons Learned