Skip to content

How is hot-swapping of matching databases implemented? #788

Answered by zabeen
benbelow asked this question in Q&A
Discussion options

You must be logged in to vote

When does hot-swapping happen?

When the data refresh job completes successfully.

The idea is that the newly processed data should not be accessed for search until the job to re-process all donors with the up-to-date nomenclature version has been fully completed.

How is it implemented?

In the "MatchingAlgorithmPersistent" schema of the shared Atlas database, there is a table containing details of all historic data refresh records.

This is not just an audit for support purposes, but provides the definitive source of which database to use:

  • The database against which the most recent successful data refresh was run should be used for search

As part of the data refresh, a row will be added to…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zabeen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants