-
Notifications
You must be signed in to change notification settings - Fork 871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to perform Import when running in distributed mode #7268
Comments
Hi, Thanks for opening this issue. Right now the approach is: re-import in single mode and, after import has been completed, restart in distributed mode. There's a documentation bug open to make this more clear: orientechnologies/orientdb-docs#267 Ideally in the future import will work (directly) also on distributed Tagging as enhancement. Let us know if you feel we can help more Thanks, |
@santo-it Thanks for replying. We don't always have control of the destination environment to bring down nodes to do an import. Do you have any ETA on when it might it might be added as an enhancement? Do you know what is causing the exception? |
This is Dale from ADP. We also have the need for our code to create databases on the fly, which requires that we perform a schema import using the Java API. Of course there's no way we can do this by stopping and starting the database server. |
Hi guys, you could:
|
@RAndrews137 did it work? |
Hi @lvca, we have not had a chance to test your suggestion and probably will not have a need to. Overall, I still suggest having a means to import into an HA cluster with no changes. Since this is not an active issue for us, perhaps this can be classified as an Enhancement. Thanks :) |
Hello, We are encountering the same problem on OrientDb 2.2.28 Community edition. We tried running the command But only got the following error : Is this command available in community edition ? We could not find it in the documentation. |
@lvca and @tglman this is becoming important to us as well. We will be starting to run in distributed mode in a multi-tenant scenario where each customer has their own database. We definitely need to be able to create and import database in distributed mode without impacting availability of the database. We don't have the option of doing into single mode, or stopping replication cluster wide. |
Hi, This is fixed in 3.0.0, now is possible to import a database in distributed, also tests for the case are included. Closing this |
OrientDB Version: 2.2.17 Enterprise
Java Version: 1.8
OS: SLES
Expected behavior
Schema and data imported successfully
Actual behavior
Received following error message:
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.ORecordNotFoundException: The record has no id. It is probably new or still transient
Steps to reproduce
Please note, the same export file and same database will successfully import if NOT running in distributed mode. There is something very specific about running in a distributed environment that causes the issue. What is the correct approach to run an import into a distributed setup?
The text was updated successfully, but these errors were encountered: