-
-
Notifications
You must be signed in to change notification settings - Fork 513
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
Unable to push to doltlab when sql-server is running #7548
Comments
Based on the commands above, I believe the issue is that you have a The work around is to not use the
Documentation for the procedure can be found here: https://docs.dolthub.com/sql-reference/version-control/dolt-sql-procedures#dolt_remote Getting the |
I'll add that while
|
|
Also happens with |
Hmm. You are supposed to get an error message which tells you to stop |
There are a couple bugs here, probably not the answer you wanted. First, the table and docs commands should simply tell you what you are attempting is impossible and requires you to stop the sql-server. The table command in particular should never run with sql-server. It's worth calling out that after you That said, I know you want this to actually work. The I get the following error with -s:
Is that the error you are getting? Either way, that is a bug which I'll fix. Different error though. |
Actually, the |
re: Definitely I want this feature. It's the biggest pain-point I have personally. Should I open a separate issue? |
@macneale4 Maybe we should open individual issues for the commands that don't work with a running server? |
Having a seperate ticket for each command wouldn't make this much better. If @verdverm is seeing the same error for all of them, then it's really one bug. That said, I'm not seeing this behavior. Can you be very specific about where you are running commands in relation to your server? Full details with the complete output would be very helpful. Today I spent a fair amount of time trying to simply get the right error message to print in this scenario, and it turns out this broke a ton of tests which are depending on this behavior. And, honestly, it would drop the existing When you say this is your biggest pain point, I want to be clear that migrating each command to SQL so that they work seamlessly with sql-server is non-trivial. |
My largest Dolt use-case is as data cleaning and iteration as part of doing data science. This has me wanting to both look at the data to see where it currently is at and then iterating on the cleanup and redoing the import. Ideally I can always leave the server running and just run my code that process & loads the data. As of now, each iteration requires me to:
This is much more cumbersome that pushing I will follow up with later with the steps to reproduce iirc, I have
and I run
The error is |
Hello everyone!
Today I installed a local doltlab instance and wanted to upload my current work repository, so create a repo on doltlab and ran the commands it displayed to push. Namely:
Which fails on the second command with:
Then I tried adding the remove again:
which didn't work. So then I tried to remove and add again:
Then I checked if it exists:
It indeed exists. After this I did other work and I had the idea of what if I stopped the running sql-server instance (the instance log shows the same error message printed). So I stopped my local dolt server and now I could push the repo.
My dolt comes from chocolatey, but I don't think that influences things. Doltlab is running on a linux host.
Thank you for your help!
The text was updated successfully, but these errors were encountered: