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

meta.DB.Open(readOnly) does not move metabase in RO mode #2889

Open
carpawell opened this issue Jul 9, 2024 · 0 comments
Open

meta.DB.Open(readOnly) does not move metabase in RO mode #2889

carpawell opened this issue Jul 9, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers I4 No visible changes S4 Routine U4 Nothing urgent

Comments

@carpawell
Copy link
Member

Expected Behavior

Metabase is asked to open bbolt in RO, and I expect the internal state to be RO too.

Current Behavior

Bbolt is opened in RO, however, metabase accepts write operations and returns bbolt's error.

Possible Solution

Open sets mode to RO (additional test for it is also good).

Context

Firstly found in #2884.

@carpawell carpawell added the bug Something isn't working label Jul 9, 2024
@roman-khimov roman-khimov added U4 Nothing urgent S4 Routine I4 No visible changes good first issue Good for newcomers labels Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers I4 No visible changes S4 Routine U4 Nothing urgent
Projects
None yet
Development

No branches or pull requests

2 participants