2022-03-03 TV list of doctors did not sync for Under notice and All doctors

Date

Mar 3, 2022

Authors

@John Simmons (Deactivated) @Cai Willis @Doris.Wong

Status

In progress

Summary

TV list of doctors did not sync for Under notice and All doctors

Impact

TV Reval admins couldn’t process Under notice doctors, nor see a list of any of their doctors

Non-technical Description

The recommendations list was showing up as empty for Thames Valley doctors as they had failed to sync overnight.


Trigger

  • .

Detection

  • User detected the issue


Resolution

  • Reduced frequency of recommendation status check

  • Improved logging in gmc-client

  • Prevented sending of further invalid requests


Timeline


Root Cause(s)

  • Old data (from initial migration back when) had records that were “Under Review” but also had a null gmcRecommendationId

  • Insufficient logging


Action Items

Action Items

Owner

Action Items

Owner

  • Update cron parameter to trigger GMC Recommendation status check 3 times a day within office hour instead of per hour

@Doris.Wong

  • Increase logging in gmc-client for sync jobs

@Doris.Wong @Cai Willis

  • Prevent bad data from triggering further errors

@Cai Willis


Lessons Learned

  • Don’t ignore errors for too long.

  • Take opportunities to fix potential issues where possible - this data issue was spotted a while ago (to discuss - pragmatism)

  • Well thought out logging is invaluable