corrupted database! lost classes!! ....but clusters still there!!!!

146 views
Skip to first unread message

lu...@emaxsrl.com

unread,
Jun 26, 2014, 4:41:56 AM6/26/14
to orient-...@googlegroups.com
Hello, I'm using v. 1.7.3 Community.
while I was creating a new class using OrientDB Studio, suddenly most of the classes have disappeared.
Then I restarted the database and reconnected using the console and all I see is:

orientdb > list classes
CLASSES:
----------------------------------------------+------------------------------------+------------+----------------+
 NAME                                         | SUPERCLASS                         | CLUSTERS   | RECORDS        |
----------------------------------------------+------------------------------------+------------+----------------+
 _studio_bookmark                             |                                    | 76         |              4 |
 OIdentity                                    |                                    | -          |             20 |
 ORestricted                                  |                                    | -          |              0 |
 ORIDs                                        |                                    | 6          |              0 |
 ORole                                        | OIdentity                          | 4          |             13 |
 OUser                                        | OIdentity                          | 5          |              7 |
----------------------------------------------+------------------------------------+------------+----------------+
 TOTAL = 6                                                                                                    44 |
----------------------------------------------+------------------------------------+------------+----------------+

But if I do:

orientdb > list clusters 

CLUSTERS:
----------------------------------------------+-------+---------------------+---------+-----------------+
 NAME                                         |   ID  | TYPE                | DATASEG | RECORDS         |
----------------------------------------------+-------+---------------------+---------+-----------------+
 _studio_bookmark                             |    76 | PHYSICAL            |      -1 |               4 |
 aaaa                                         |    29 | PHYSICAL            |      -1 |               0 |
 access_log                                   |    30 | PHYSICAL            |      -1 |             130 |
 catmer                                       |    20 | PHYSICAL            |      -1 |            4894 |
 clifo                                        |    16 | PHYSICAL            |      -1 |               0 |
 default                                      |     3 | PHYSICAL            |      -1 |               0 |
 e                                            |    10 | PHYSICAL            |      -1 |               5 |
 gare                                         |    67 | PHYSICAL            |      -1 |               0 |
 index                                        |     1 | PHYSICAL            |      -1 |               8 |
 internal                                     |     0 | PHYSICAL            |      -1 |               3 |
 lavorasuappalto                              |    18 | PHYSICAL            |      -1 |               0 |
 logs                                         |    37 | PHYSICAL            |      -1 |               3 |
 manindex                                     |     2 | PHYSICAL            |      -1 |               3 |
 node_sessions                                |    57 | PHYSICAL            |      -1 |             300 |
 ofunction                                    |     7 | PHYSICAL            |      -1 |              11 |
 ord_inviti                                   |    70 | PHYSICAL            |      -1 |               0 |
 ordine_righe                                 |    35 | PHYSICAL            |      -1 |              14 |
 ordini                                       |    34 | PHYSICAL            |      -1 |               4 |
 orids                                        |     6 | PHYSICAL            |      -1 |               0 |
 orole                                        |     4 | PHYSICAL            |      -1 |              13 |
 oschedule                                    |     8 | PHYSICAL            |      -1 |               0 |
 ouser                                        |     5 | PHYSICAL            |      -1 |               7 |
 prezza_ordine                                |    12 | PHYSICAL            |      -1 |               0 |
 properties                                   |    77 | PHYSICAL            |      -1 |               8 |
 rap_cat_vendita                              |    69 | PHYSICAL            |      -1 |               0 |
 rapcat                                       |    23 | PHYSICAL            |      -1 |               0 |
 status                                       |    68 | PHYSICAL            |      -1 |               3 |
 tblcomuni                                    |    26 | PHYSICAL            |      -1 |            8501 |
 tblnazioni                                   |    28 | PHYSICAL            |      -1 |               1 |
 tblprovincie                                 |    27 | PHYSICAL            |      -1 |             370 |
 v                                            |     9 | PHYSICAL            |      -1 |               0 |
 webaziende                                   |    11 | PHYSICAL            |      -1 |             551 |
----------------------------------------------+-------+---------------------+---------+-----------------+
 TOTAL = 32                                                                 |         |           14833 |
----------------------------------------------------------------------------+---------+-----------------+

As you can see clusters are still present.

What happened?
How can I recover the database?

Thanks
Luca
 

David W.

unread,
Jun 26, 2014, 10:11:36 AM6/26/14
to orient-...@googlegroups.com
Hi there, 

I just had the same problem yesterday with 1.7.4 - my classes disappeared, but the clusters still exist.

I'd also be glad for a solution.

Best wishes,

David

Luca Garulli

unread,
Jul 8, 2014, 7:41:31 PM7/8/14
to orient-database
Hi all,
In 1.7.3 and 1.7.4 we found a bug with the schema management that we've already fixed in 1.7.5-SNAPSHOT. There is no corruption, data is there, but the schema table had wrong information.

We're going to release 1.7.5 in the next 24h with such patch, sorry for the inconvenience. I hope only a few of users are affected by this problem, If you've a database with such problem, please send an private message to get it fixed with no data loss.

Sorry for the inconvenience,
Lvc@


--

---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

David

unread,
Jul 9, 2014, 3:42:57 AM7/9/14
to orient-...@googlegroups.com
Hi Luca,

sounds great, thanks a lot!
Reply all
Reply to author
Forward
0 new messages