Skip to content

Fix some DbCache-related test failures#5522

Merged
labkey-adam merged 7 commits into
developfrom
fb_dbcache_fixes
May 24, 2024
Merged

Fix some DbCache-related test failures#5522
labkey-adam merged 7 commits into
developfrom
fb_dbcache_fixes

Conversation

@labkey-adam
Copy link
Copy Markdown
Contributor

@labkey-adam labkey-adam commented May 21, 2024

Rationale

Some test failures cropped up after merging the DbCache -> DatabaseCache migration PR

Related Pull Requests

Changes

  • Add missing participant cache invalidations
  • Previous PR moved deleteAllSpecimenData() to the specimen module so it could easily invalidate the new caches, which live in specimen. However, study still included the specimen importers, which meant distributions without the specimen module would import but never delete specimen data. Instead of moving the delete back to study, I moved all the import code into specimen.
  • I also had to move the specimen table delete handling back to study, since study creates all the provisioned tables, including FK relationships between specimen tables and the location table.

@labkey-adam labkey-adam merged commit 5746361 into develop May 24, 2024
@labkey-adam labkey-adam deleted the fb_dbcache_fixes branch May 24, 2024 00:04
@labkey-adam labkey-adam linked an issue May 24, 2024 that may be closed by this pull request
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[LabKey CI] Eliminate DbCache use

2 participants