Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move formplayer sqlite temp DBs to the data directory #6282

Merged
merged 2 commits into from May 15, 2024
Merged

Conversation

snopoke
Copy link
Contributor

@snopoke snopoke commented May 3, 2024

This updates the formplayer configuration settings:

- sqlite.tmpDataDir=tmp_dbs/
+ sqlite.tmpDataDir=/opt/data/formplayer/tmp_dbs/

The impact of this is that formplayer will no longer store the temporary sqlite database relative to the release folder but will store them in the data directory. These DBs are used to store case search result data.

This is beneficial for two reasons:

  1. Keep all user data together and on the drive with encryption and sized for user data
  2. Persist tmp DBs across deploys (currently they are relative to the current release)
Environments Affected

ALL

Post deploy steps (optional):

  • Remove tmp_dbs from the current releases

@snopoke snopoke merged commit a153397 into master May 15, 2024
2 checks passed
@snopoke snopoke deleted the sk/tmpDataDir branch May 15, 2024 12:01
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.

None yet

3 participants