orientdb icon indicating copy to clipboard operation
orientdb copied to clipboard

Sadden crashing DB

Open PhantomYdn opened this issue 4 years ago • 0 comments

OrientDB Version: 3.1.5

Java Version: 8

OS: any

Expected behavior

Creation of new OClass if it doesn't exist should be successful and no storage level errors should be there.

Actual behavior

Probably something was happen prior on the database, but creation of OClass which is not there leads to the following exception:

com.orientechnologies.orient.core.exception.OStorageException: Exception during execution of atomic operation inside of storage Orienteer
        DB name="Orienteer"
        at com.orientechnologies.orient.core.storage.impl.local.paginated.atomicoperations.OAtomicOperationsManager.calculateInsideAtomicOperation(OAtomicOperationsManager.java:177)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.addCluster(OAbstractPaginatedStorage.java:974)
        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentAbstract.addCluster(ODatabaseDocumentAbstract.java:838)
        at com.orientechnologies.orient.core.metadata.schema.OSchemaEmbedded.createClusters(OSchemaEmbedded.java:513)
        at com.orientechnologies.orient.core.metadata.schema.OSchemaEmbedded.doCreateClass(OSchemaEmbedded.java:458)
        at com.orientechnologies.orient.core.metadata.schema.OSchemaEmbedded.createClass(OSchemaEmbedded.java:54)
        at com.orientechnologies.orient.core.metadata.schema.OSchemaShared.createClass(OSchemaShared.java:225)
        at com.orientechnologies.orient.core.metadata.schema.OSchemaProxy.createClass(OSchemaProxy.java:96)

Steps to reproduce

Hard to recreate from scratch, but I can send datadump if needed.

PhantomYdn avatar Jan 08 '21 23:01 PhantomYdn