-
Notifications
You must be signed in to change notification settings - Fork 870
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
Import operations failing in distributed mode #9073
Comments
Hi @tacho, Do you have any error in the server log when you run the import ? can you share with us the sever log, as well if you have a specific import that reproduce the problem that you can share will be cool. For the alter table problem can you open a separate issue where you specify the kind of alter you are trying to do (the SQL query would be good). This current info are good but i can just identify the environment not the problem. Regards |
Hello, I'll have to reprovision the test cluster that I had in order to give you server logs, but if I recall correctly there weren't any messages relating to this there, just the client error that I pasted above. Any database import was failing, but I'll try to prepare a small one as a test case. |
Here's an archive with the server logs, a sample DB and all three nodes' configurations. The password hashes inside are with obviously insecure passwords, as this is a disposable test cluster. As you'll see there wasn't any error in the server w.r.t the database import, and console.sh gave me this:
|
For the record, the logs are from 3.0.25, but I just upgraded the test "cluster" to 3.0.26 and same error occurs. |
Hi @tacho, Thank you for the details, I could reproduce and fix it, it will be released in the next hotfix 3.0.27. bye |
OrientDB Version: 3.0.25
Java Version: 11.0.5+10-LTS
OS: CentOS Linux 7.7.1908
Expected behavior
When running a 3 node distributed cluster with one master node and two replicas, everything should work fine.
Actual behavior
Import operations fail with
Code: 500, Content: com.orientechnologies.orient.server.distributed.ODistributedException: Quorum (1) cannot be reached on server 'odb-staging0' database 'TestDB' because it is major than available nodes (0)
Some other operations such as ALTER CLASS also randomly fail, and succeed every time in single node mode.
The server status is:
Steps to reproduce
The text was updated successfully, but these errors were encountered: