-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
"show database" fails in command-line client #3882
Comments
I0115 05:27:43.921338 72722 cli/start.go:142 build Tag: macts.local:26257> show databases; Did you do anything else? On Fri, Jan 15, 2016 at 5:25 AM kena notifications@github.com wrote:
|
This is on an AWS instance freshly updated with |
I think this is related to #3553 which changed the on-disk encoding. I think if you start a fresh cluster it should work fine. We need a better story about versioning here. |
Thanks for the explanation. What do I need to reset to "start a new cluster"? I erased all my data files named in --store but the error persists. Does cockroach write state in other locations as well? |
Hmm, that should be sufficient. Cockroach doesn't store anything outside of the store directories. This isn't happening for me either when I tested just now. I'm not sure what is going on. Can you locally build a cockroach binary and run it using |
Found the cause of the error, it was a consequence of #3909. Now working as expected. |
Running
cockroach sql --insecure
thenshow databases;
:That used to work a few days ago.
or with a previously created database
test
,select database test;
:The error is at best confusing, at worst likely incorrect.
The text was updated successfully, but these errors were encountered: