Uploaded image for project: 'openmrs-eip'
  1. openmrs-eip
  2. EIP-62

Invalidate OpenMRS Hibernate cache during DB sync in the receiver

    XMLWordPrintable

Details

    Description

      OpenMRS uses hibernate second level caching for some entities e.g Person, PersonName, PersonAttribute, these entities can be updated by the receiver in the DB by dbsync but you will still see old values in the UI.

      We need to invalidate the 2nd level cache whenever we sync entities in the DB, we need to implement this in such a way that we avoid doing it for every sync operation otherwise it will slow down the application like rebuilding the search index does.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                wyclif Wyclif Luyima
                wyclif Wyclif Luyima
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: