Replies: 1 comment
-
I have the same error. I have a gz file that is imported correctly through console, but with the Java API I get the same error as you. By the way I am working with OrientDb 3.1.11 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I tried shrinking the embedded database (3.1.7) with export / import, but with no success. Perhaps I am doing something wrong.
Export was done via ODatabaseExport, and import via ODatabaseImport (merge = falsé). But I got the error.
I filled the issue #9531 with project to reproduce,
but if I have missed something simple, please point it out.
Started import of database 'plocal:C:\Users\orlov\github\arch7tect\testimport.orientdb\databases/testimport' from streaming.json...
Non merge mode (-merge=false): removing all default non security classesError on database import happened just before line 0, column 1
com.orientechnologies.orient.core.exception.NotEmptyComponentCanNotBeRemovedException: Component collections_52 can not be removed because it still contains 1 ridbags
at com.orientechnologies.orient.core.storage.index.sbtreebonsai.local.OSBTreeBonsaiLocal.lambda$deleteComponent$6(OSBTreeBonsaiLocal.java:550)
at com.orientechnologies.orient.core.storage.impl.local.paginated.atomicoperations.OAtomicOperationsManager.executeInsideComponentOperation(OAtomicOperationsManager.java:195)
at com.orientechnologies.orient.core.storage.impl.local.paginated.atomicoperations.OAtomicOperationsManager.executeInsideComponentOperation(OAtomicOperationsManager.java:187)
at com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurableComponent.executeInsideComponentOperation(ODurableComponent.java:102)
at com.orientechnologies.orient.core.storage.index.sbtreebonsai.local.OSBTreeBonsaiLocal.deleteComponent(OSBTreeBonsaiLocal.java:528)
at com.orientechnologies.orient.core.storage.ridbag.sbtree.OSBTreeCollectionManagerShared.deleteComponentByClusterId(OSBTreeCollectionManagerShared.java:177)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.lambda$dropCluster$5(OAbstractPaginatedStorage.java:1034)
at com.orientechnologies.orient.core.storage.impl.local.paginated.atomicoperations.OAtomicOperationsManager.calculateInsideAtomicOperation(OAtomicOperationsManager.java:152)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.dropCluster(OAbstractPaginatedStorage.java:1025)
at com.orientechnologies.orient.core.metadata.schema.OSchemaEmbedded.deleteCluster(OSchemaEmbedded.java:756)
at com.orientechnologies.orient.core.metadata.schema.OSchemaEmbedded.dropClassInternal(OSchemaEmbedded.java:616)
at com.orientechnologies.orient.core.metadata.schema.OSchemaEmbedded.doDropClass(OSchemaEmbedded.java:582)
at com.orientechnologies.orient.core.metadata.schema.OSchemaEmbedded.dropClass(OSchemaEmbedded.java:571)
at com.orientechnologies.orient.core.metadata.schema.OSchemaProxy.dropClass(OSchemaProxy.java:125)
at com.orientechnologies.orient.core.db.tool.ODatabaseImport.removeDefaultNonSecurityClasses(ODatabaseImport.java:503)
at com.orientechnologies.orient.core.db.tool.ODatabaseImport.importDatabase(ODatabaseImport.java:195)
at com.orientechnologies.orient.core.db.tool.ODatabaseImport.run(ODatabaseImport.java:177)
at ru.neoflex.meta.testimport.Main.run(Main.java:190)
at ru.neoflex.meta.testimport.Main.main(Main.java:204)
Beta Was this translation helpful? Give feedback.
All reactions