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

Readonly is not enforced for newly created databases #189

Open
davissp14 opened this issue Apr 17, 2023 · 0 comments
Open

Readonly is not enforced for newly created databases #189

davissp14 opened this issue Apr 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@davissp14
Copy link
Contributor

When a cluster is made read-only, we will loop through each of the user-defined databases and turn them read-only individually. This ensures that each existing database will no longer be able to issue writes until the existing problem is addressed, however, this is not enforced for databases that are created after the fact.

Example case where this could cause issues:

App is made read-only to prevent disk capacity from reaching 100%

  1. User attaches a new app to the database.
  2. User will be able to issue writes and push their volume to 100% disk capacity.

Problem

We don't re-evaluate the list of databases once the readonly.lock file has been issued.

@davissp14 davissp14 added the bug Something isn't working label Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant