neDate

Authors

Joseph (Pepe) Kelly

Status

Done

Summary

Impact

Unable to see the lists of doctors connected and under notice for revalidation

Non-technical Description

An issue occurred with an overnight task which meant users were only seeing one trainee in the revalidation search lists. It was continously restarting and retrying until we were able to give it additional resources to work with. It then was able to run and fill out the search lists for recommendations and connections.


Trigger


Detection


Resolution


Timeline

All times in BST unless indicated

5 Whys (or other analysis of Root Cause)

  1. Why were no doctors showing in the revalidation recommendations and connections summary lists for most of the day? - Because the GMC overnight sync had failed

  2. Why had the GMC overnight sync job failed? - Because the gmc-client-service kept crashing and restarting the sync process

  3. Why did the gmc-client-service keep crashing? - Because it was experiencing an out of memory error every time it received a response from GMC
    It kept on crashing on startup because ?!?

  4. Why was the gmc-client-service experiencing an out of memory error every time it received a response from GMC? - current unknown


Action Items

Action Items

Owner

Comments

Reproduce error on preprod by spinning up task definition with less memory?

Cai Willis

There’s a few minutes lag between calling the sync endpoint and the sync message showing up in rabbit, be patient and don’t trigger it multiple times (big grin)

Dynamic modification of task definition: memory & CPU?

(blue star) (blue star) (blue star) (blue star) (blue star) (blue star)

Small tasks/tidy up:

  • Reset cron schedules

  • Make new (log level) parameters for environment specific?

Joseph (Pepe) Kelly

Schedules reset

Currently no need for parameters being different between environments

Can we improve the speed of the overnight sync job (particularly the CDC process from MongoDB via. the MasterDoctorIndex to recommendations)

Joseph (Pepe) Kelly


Lessons Learned