Skip to content
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

Distributed query doesn't work in distributed configuration #8345

Closed
HassounDev opened this issue Jun 19, 2018 · 2 comments
Closed

Distributed query doesn't work in distributed configuration #8345

HassounDev opened this issue Jun 19, 2018 · 2 comments

Comments

@HassounDev
Copy link

OrientDB Version: <3.0.1>

Java Version: <1.8>

OS: <Linux, Debian>

I have a distributed configuration with 3 servers :

{
  "autoDeploy": true,
  "readQuorum": 1,
  "writeQuorum": 1,
  "executionMode": "undefined",
  "readYourWrites": true,
  "newNodeStrategy": "dynamic",
  "servers": {
    "*": "master"
  },
  "clusters": {
    "internal": {
    },
    "customer_dsc": {
      "servers" : [ "dsc"]
    },
    "customer_dsp1": {
      "servers" : [ "dsp1" ]
    },
    "customer_dsp2": {
      "servers" : [ "dsp2"]
    },
    "phc_dsc": {
      "servers" : [ "dsc"]
    },
    "phc_dsp1": {
      "servers" : [ "dsp1" ]
    },
    "phc_dsp2": {
      "servers" : [ "dsp2"]
    },
    "*": {
      "servers" : [ "<NEW_NODE>" ]
    }
  }
}

I already used this conf in orientdb 2.2.x and i wanted to test it in Orientdb 3,
I added a new vertex named : customer in the cluster customer_dsc

create vertex customer cluster customer_dsc set identifier ='id_1', name='name_1'

so when i use this query select from customer i want to see

Expected behavior

|4 |#16:4|customer|id_1 |name_1 |

Actual behavior

but it throw an error
Error: com.orientechnologies.orient.enterprise.channel.binary.OResponseProcessingException: Exception during response processing
Error: java.lang.ArrayIndexOutOfBoundsException

Steps to reproduce

This query already worked in Orientdb 2.2.X

@hossein-md
Copy link

Hi @HassounDev

Which version of 2.2.x works for you? I've tested 2.2.26, 2.2.30, 2.2.33 and 2.2.35 but only 2.2.26 and 2.2.30 work for me. 2.2.33 and 2.2.35 return an error as I mentioned in #8297.
Even in these versions, traverse doesn't work fine as I expected.

Thanks

@HassounDev
Copy link
Author

i used 2.2.20 it works for i tried 3.x and 3.3.x its don't work, i don't know why

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants