You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have got a problem when I created new class in database.
I created "drives" class and then inserted approximately 100 records.
After rebooting my server, I found that cluster segments for drives class were missing.
Some queries for listing drive class do not work anymore.
It showed an error like this:
Cluster segment #142 does not exist in database 'FTO-Structure-2.0'"
Database Information
I checked the database by console.sh with info command.
Drive clusters were missing and the index of 3 of class list was also gone.
The followings are the parts of a result that are invalid:
However, the database's directory still contains files for drives class.
...
-rwxr-xr-x 1 orientdb orientdb 1024 Mar 6 2017 domains_7.cpm
-rwxr-xr-x 1 orientdb orientdb 66560 Mar 6 2017 domains_7.pcl
-rwxr-xr-x 1 orientdb orientdb 66560 Feb 14 12:46 drives.cpm
-rwxr-xr-x 1 orientdb orientdb 263168 Feb 14 12:46 drives.pcl
-rwxr-xr-x 1 orientdb orientdb 66560 Feb 14 12:46 drives_1.cpm
-rwxr-xr-x 1 orientdb orientdb 263168 Feb 14 12:46 drives_1.pcl
-rwxr-xr-x 1 orientdb orientdb 66560 Feb 14 12:46 drives_2.cpm
-rwxr-xr-x 1 orientdb orientdb 263168 Feb 14 12:46 drives_2.pcl
-rwxr-xr-x 1 orientdb orientdb 66560 Feb 14 12:46 drives_3.cpm
-rwxr-xr-x 1 orientdb orientdb 263168 Feb 14 12:46 drives_3.pcl
-rwxr-xr-x 1 orientdb orientdb 66560 Feb 14 12:46 drives_4.cpm
-rwxr-xr-x 1 orientdb orientdb 263168 Feb 14 12:46 drives_4.pcl
-rwxr-xr-x 1 orientdb orientdb 66560 Feb 14 12:46 drives_5.cpm
-rwxr-xr-x 1 orientdb orientdb 263168 Feb 14 12:46 drives_5.pcl
-rwxr-xr-x 1 orientdb orientdb 66560 Feb 14 12:46 drives_6.cpm
-rwxr-xr-x 1 orientdb orientdb 263168 Feb 14 12:46 drives_6.pcl
-rwxr-xr-x 1 orientdb orientdb 66560 Feb 14 12:46 drives_7.cpm
-rwxr-xr-x 1 orientdb orientdb 263168 Feb 14 12:46 drives_7.pcl
-rwxr-xr-x 1 orientdb orientdb 1024 Mar 6 2017 e.cpm
-rwxr-xr-x 1 orientdb orientdb 66560 Mar 6 2017 e.pcl
...
orient-server.log
I have just noticed some errors in orient-server.log. The warning happened after I created new class.
2018-02-12 10:28:09:667 WARNI {db=FTO-Structure-2.0} Page in file drives.pcl with index 0 was placed in wrong free list, this error will be fixed automatically [OPaginatedCluster]
2018-02-12 10:28:13:320 WARNI {db=FTO-Structure-2.0} Page in file drives_7.pcl with index 0 was placed in wrong free list, this error will be fixed automatically [OPaginatedCluster]
I have already tried repairing by "repair database --fix-graph" and "repair database --fix-ridbags", but it did not work.
Is there any other ways to repair my database?
The text was updated successfully, but these errors were encountered:
Sorry, any update on this case? This problem mean OrientDB may lost data in some points (in my case we lost entire cluster segment for a class). It's make our application can't going online!
Hi @hazzasym you use a very old version of the database, this issue already should be fixed. The problem was that sometimes not all data were written to the file system. Do you repeat the same problem with the latest 2.2.x release?
Hi @Laa, thank you for your response.
First we try to upgrade our Orientdb latest version to both 0.2.32 and 0.2.33 release as you recommended but the latest version cause our query broke (we created new issue as #8142 ).
Now we stick with 0.2.18 release and wait for your reply to those ticket then we can confirm what we should try next and which information to provide for Orientdb team.
OrientDB Version: 2.2.18
Java Version: 1.8.0_144
OS: FreeBSD 11.0-RELEASE-p1
Hi, I have got a problem when I created new class in database.
I created "drives" class and then inserted approximately 100 records.
After rebooting my server, I found that cluster segments for drives class were missing.
Some queries for listing drive class do not work anymore.
It showed an error like this:
Database Information
I checked the database by console.sh with info command.
Drive clusters were missing and the index of 3 of class list was also gone.
The followings are the parts of a result that are invalid:
Database Directory
However, the database's directory still contains files for drives class.
orient-server.log
I have just noticed some errors in orient-server.log. The warning happened after I created new class.
I have already tried repairing by "repair database --fix-graph" and "repair database --fix-ridbags", but it did not work.
Is there any other ways to repair my database?
The text was updated successfully, but these errors were encountered: