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

Live query crashes after new edge created #8594

Closed
pcholder opened this issue Oct 11, 2018 · 2 comments
Closed

Live query crashes after new edge created #8594

pcholder opened this issue Oct 11, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@pcholder
Copy link

OrientDB Version: 3.0.2, 3.0.6, 3.0.8

Java Version: 1.8.0_171

OS: Debian stretch x68_64, kernel 4.9

Expected behavior

When i subscribe on any Entity (subclass of vertex), live query works normally even the edge between entity1 and entity2 created.

Actual behavior

All live queries opened in current ODatabaseSession crashes after new edge created

Exception in thread "Thread-3" com.orientechnologies.common.io.OIOException: Impossible to read a chunk of length:55703937 max allowed chunk length:16777216 see NETWORK_BINARY_MAX_CONTENT_LENGTH settings at com.orientechnologies.orient.enterprise.channel.binary.OChannelBinary.readBytes(OChannelBinary.java:165) at com.orientechnologies.orient.core.serialization.serializer.result.binary.OResultSerializerNetwork.fromStream(OResultSerializerNetwork.java:655) at com.orientechnologies.orient.client.remote.message.OMessageHelper.readProjection(OMessageHelper.java:503) at com.orientechnologies.orient.client.remote.message.OMessageHelper.readResult(OMessageHelper.java:471) at com.orientechnologies.orient.client.remote.message.OLiveQueryPushRequest.read(OLiveQueryPushRequest.java:83) at com.orientechnologies.orient.client.remote.OStorageRemotePushThread.run(OStorageRemotePushThread.java:58)

Steps to reproduce

  1. Create vertex Entity class, liveSession, subscribe on Entity changes and any number of other changes.
  2. open new session, create entity1, close session // ok, event fired
  3. open new session, create entity2, and edge(entity1, entity2), close session // -> after that all listeners
  4. open new session, create entity3.

Now all listeners from step 1 are not working.

Code to reproduce here:
https://github.com/pcholder/orientLiveQueryBug

May be i use orient in not properly manner, please help me.

@luigidellaquila
Copy link
Member

Hi @pcholder

Thank you very much for reporting, we'll check it ASAP and let you know

Thanks

Luigi

@luigidellaquila luigidellaquila self-assigned this Oct 11, 2018
luigidellaquila added a commit that referenced this issue Oct 11, 2018
@luigidellaquila
Copy link
Member

Hi @pcholder

I just pushed a fix for this issue, it will be released with v 3.0.9

Thanks

Luigi

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

No branches or pull requests

2 participants