orientechnologies / orientechnologies/orientdb
Sadden crashing DB
Open
@andrii0lomakin is already working on this.
Since Jan 11, 2021.
- Dominant language
- Java
- Stars
- 5k
- Forks
- 868
- Avg merge
- 15h 6m
- Merged PRs (30d)
- 18
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.