Details
-
Bug
-
Status: Done
-
TBD
-
Resolution: Done
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
- caused
-
RESTWS-866 Add REST endpoint to invalidate the Hibernate L2 cache
-
- Closed
-
- depends on
-
RESTWS-866 Add REST endpoint to invalidate the Hibernate L2 cache
-
- Closed
-
- is related to
-
FILTER-10 Search index cannot be rebuilt asynchronously when datafilter is running
-
- Done
-
- relates to
-
EIP-64 Rebuild search index when a person or patient record is synced
-
- Done
-