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

investigate Postgres QA DB with limited read/write access #411

Open
sybenzvi opened this issue May 17, 2024 · 0 comments
Open

investigate Postgres QA DB with limited read/write access #411

sybenzvi opened this issue May 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sybenzvi
Copy link
Contributor

This ticket is inspired by an online discussion with @sbailey. The existing SQLite history QA DB should automatically protects against accidental writes during testing by the non-desi (datasystems) user at NERSC (KPNO). However, by experience SQLite's lock file mechanism can lead to unpredictable race conditions when the DB is accessed by multiple processes, potentially corrupting the database.

PostgreSQL is friendlier to multi-process access but needs to be configured to allow read/write access only to the desi (datasystems) user. It should be read-only for all other users.

@sybenzvi sybenzvi added the enhancement New feature or request label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant