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

Bug: Can't open database created with kuzu-0.8.0 #5064

Closed
adsharma opened this issue Mar 17, 2025 · 3 comments
Closed

Bug: Can't open database created with kuzu-0.8.0 #5064

adsharma opened this issue Mar 17, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@adsharma
Copy link

Kuzu version

v0.8.2

What operating system are you using?

Ubuntu 24.04

What happened?

$ ~/Downloads/kuzu-0.8.0 test
Opening the database at path: test in read-write mode.
Enter ":help" for usage hints.
kuzu> CREATE NODE TABLE User (name STRING, age INT64 DEFAULT 0, reg_date DATE, PRIMARY KEY (name));
┌──────────────────────────────┐
│ result                       │
│ STRING                       │
├──────────────────────────────┤
│ Table User has been created. │
└──────────────────────────────┘
(1 tuple)
(1 column)
Time: 18.61ms (compiling), 11.47ms (executing)
kuzu> CREATE REL TABLE Follows(FROM User TO User, since DATE);
┌─────────────────────────────────┐
│ result                          │
│ STRING                          │
├─────────────────────────────────┤
│ Table Follows has been created. │
└─────────────────────────────────┘
(1 tuple)
(1 column)
Time: 2.73ms (compiling), 3.90ms (executing)
kuzu> :quit

$ ~/Downloads/kuzu-0.8.1 test
Runtime exception: Reading past the end of the file /tmp/test/test/catalog.kz with size 626 at offset 626

$ ~/Downloads/kuzu-0.8.2 test
Runtime exception: Reading past the end of the file /tmp/test/test/catalog.kz with size 626 at offset 626

Are there known steps to reproduce?

No response

@adsharma adsharma added the bug Something isn't working label Mar 17, 2025
@andyfengHKU
Copy link
Contributor

andyfengHKU commented Mar 17, 2025

Hi @adsharma,

Thanks for reporting! We are aware of this bug. v0.8.1 accidentally introduced a storage change that leads to incompatible storage. However, some platform does not allow reverting a released version. So we are trying to release a new version 0.9 #5062 soon.

@prrao87
Copy link
Member

prrao87 commented Mar 17, 2025

Hi @adsharma as a temporary workaround, you could use the migrate feature to move your data from 0.8.0 to 0.8.2 if you want to use the latest version:
https://docs.kuzudb.com/migrate/

@adsharma
Copy link
Author

Yes, I can work around. Wasn't sure if you were aware of the problem. Looks like you are!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants