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

Include associated RethinkDB version with "Data version not recognized" error #5767

Open
chrisfosterelli opened this issue May 16, 2016 · 2 comments
Milestone

Comments

@chrisfosterelli
Copy link

I was just helping someone debug the following error:

error: Data version not recognized. Is the data directory from a newer version of RethinkDB? (version on disk: 6)

As a RethinkDB user not familiar with the core, "6" doesn't mean anything useful to me and the client could not remember what version of RethinkDB they were using previously.

I was able to track it down here, but I realized it would be very useful as a developer if RethinkDB also included in matching RethinkDB version.

Possibly like so:

error: Data version not recognized. Is the data directory from a newer version of RethinkDB? 
Version on disk: 6 (matches with RethinkDB 2.1)

This is potentially related to #2657, but it looks like the issue was considered resolved there.

@danielmewes
Copy link
Member

Thanks for opening an issue @chrisfosterelli .

The problem is that RethinkDB only stores the version in a numeric form (as a 6 in this case). So an old version of RethinkDB has no idea which actual RethinkDB version this number corresponds to and how to print it.

We will need to change the disk format to include a plaintext representation of the version to improve this. It's a little bit of work, but can be done.

@danielmewes danielmewes added this to the subsequent milestone May 17, 2016
@chrisfosterelli
Copy link
Author

Ah, right that makes sense. Thanks for the quick response, hopefully this can be added at some point in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants