-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Issue saying the database is readonly #6983
Comments
You have to run |
Hi @timsehn, I'm using empty storage, so when I ran |
Hmmm. So you reset to the init commit and then insert data? |
Can I get more information about how you connect and what exactly you do? Is the code public? |
Hi, I refactored some things to simplify the data ingestion and mitigate possible problems. Here is what the workflow now looks like:
Usually, the first loop in step 4 works fine and the data is inserted fine. The second one fails, giving the error I posted above. Something I noticed is that the issue is intermittent, so if I delete the dolt folder and start from scratch or just stop and restart the app, the data ingestion might work fine after a few tries. |
Hi, I'm closing this issue as I could overcome the problem. The app I described above and the db start ( Thank you. |
Hi,
I've been running dolt (v0.35.7) along with a small app for some time without issues, after upgrading the dolt version (I tried v1.15.0 and v1.25.0) started to see the following issue while ingesting data into Dolt.
The app first runs
call dolt_reset("--hard");
and then runs a bunch of inserts programmatically via Python using a MySQL db connection.Before the actions above, the db schema is created using the dolt cli.
The issue: Error happens when trying to insert the data:
1105 (HY000): cannot update manifest: database is read-only
Is the cause of this issue known?
I found this issue (#6460), not sure if it's related.
Thanks
The text was updated successfully, but these errors were encountered: