I am trying to insert about 20000 vertixes in one transaction (one
thread also) on our app startup and getting the following exception on
commit.
SEVERE: An error occured while initializing MyFaces: Found bad order in
hole list: 33) 142918111 [88060] is higher than 0) 8384 [1180]
com.orientechnologies.orient.core.exception.OStorageException: Found bad
order in hole list: 33) 142918111 [88060] is higher than 0) 8384 [1180]
at
com.orientechnologies.orient.core.storage.impl.local.ODataLocalHole.getCloserHole(ODataLocalHole.java:141)
at
com.orientechnologies.orient.core.storage.impl.local.ODataLocal.getCloserHole(ODataLocal.java:465)
at
com.orientechnologies.orient.core.storage.impl.local.ODataLocal.handleHole(ODataLocal.java:340)
at
com.orientechnologies.orient.core.storage.impl.local.ODataLocal.setRecord(ODataLocal.java:230)
at
com.orientechnologies.orient.core.storage.impl.local.OStorageLocal.updateRecord(OStorageLocal.java:1114)
at
com.orientechnologies.orient.core.storage.impl.local.OStorageLocal.updateRecord(OStorageLocal.java:591)
at
com.orientechnologies.orient.core.db.raw.ODatabaseRaw.save(ODatabaseRaw.java:215)
at
com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.executeSaveRecord(ODatabaseRecordAbstract.java:508)
at
com.orientechnologies.orient.core.tx.OTransactionOptimistic.addRecord(OTransactionOptimistic.java:112)
at
com.orientechnologies.orient.core.tx.OTransactionOptimistic.saveRecord(OTransactionOptimistic.java:100)
at
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:203)
at
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:1)
at
com.orientechnologies.orient.core.record.ORecordAbstract.save(ORecordAbstract.java:281)
at
com.orientechnologies.orient.core.type.tree.OMVRBTreeEntryPersistent.save(OMVRBTreeEntryPersistent.java:205)
at
com.orientechnologies.orient.core.type.tree.OMVRBTreeEntryDatabase.save(OMVRBTreeEntryDatabase.java:91)
at
com.orientechnologies.orient.core.type.tree.OMVRBTreeEntryDatabase.save(OMVRBTreeEntryDatabase.java:1)
at
com.orientechnologies.orient.core.type.tree.OMVRBTreePersistent.commitChanges(OMVRBTreePersistent.java:427)
at
com.orientechnologies.orient.core.type.tree.OMVRBTreeDatabaseLazySave.lazySave(OMVRBTreeDatabaseLazySave.java:65)
at
com.orientechnologies.orient.core.type.tree.OMVRBTreeDatabaseLazySave.commitChanges(OMVRBTreeDatabaseLazySave.java:53)
at
com.orientechnologies.orient.core.type.tree.OMVRBTreePersistent.put(OMVRBTreePersistent.java:371)
at
com.orientechnologies.orient.core.index.OIndexNotUnique.put(OIndexNotUnique.java:50)
at
com.orientechnologies.orient.core.index.OIndexMVRBTreeAbstract.commit(OIndexMVRBTreeAbstract.java:764)
at
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.executeCommit(ODatabaseRecordTx.java:225)
at
com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:42)
at
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.commit(ODatabaseRecordTx.java:111)
at
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.commit(ODatabaseRecordTx.java:1)
at
com.orientechnologies.orient.core.db.ODatabaseRecordWrapperAbstract.commit(ODatabaseRecordWrapperAbstract.java:122)
at
com.tinkerpop.blueprints.pgm.impls.orientdb.OrientGraph.stopTransaction(OrientGraph.java:347)
This happens with or without schemas.
Thanks
Pieter
Pieter