AlanWu-CCIA - Hi TypeDB, heads up, this is more...

Hi TypeDB, heads up, this is more like a bug report. I am exporting and importing databases in 3.5.0 and I encountered some strange behaviours. Say I have a database called my_db with a function my_func()that essentially executes on a pattern match <my_pattern>. I can run everything normally in my_db which I setup from scratch. But when I exported this database and imported it as my_db_imported, running match <my_pattern> directly returns NO results (unexpected), while running my_func() returns the correct results (as expected). I am happy to send over my database (original and imported) and my queries for you to test it out.
3 Replies
krishnan
krishnan5w ago
Thanks for the report Please send the database and the queries and I'll look into it
AlanWu-CCIA
AlanWu-CCIAOP5w ago
I will send you a DM
georgii
georgii4w ago
Hi! Thank you for providing all the information. Thanks to your data, we've discovered a rare bug in query optimizations, and the fix is already in development. For now, I can (again) confirm that your exported backups are fine, and the problem is in how we work with the imported database. After the fix is out, the database can be imported again, and your queries are expected to be executed correctly. If you already have some modifications of the imported database you want to preserve, it's also possible to fix this db instance, so feel free to reach out. But reimporting is always the best and safest choice. We'll ping you when the fix is out (eta next week). Thank you once again!

Did you find this page helpful?