-
Notifications
You must be signed in to change notification settings - Fork 872
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: ONetworkProtocolBinary #5145
Comments
I dug around a little more and found more helpful information (Both versions were the same prior to executing the UPDATE): 2015-10-17 17:59:11:412 WARNI Cannot serialize record: 1 [ONetworkProtocolBinary] |
OConcurrentModificationException exception is normal and must be managed by your application. Look at: http://orientdb.com/docs/last/Concurrency.html |
Whilst this error does not appear after reimporting the databases, it is not a concurrent modification by our application. According to the logs, it is clearly a replication issue inside OrientDB. I will update this issue when the problem reappears. |
Do you have any news? |
This is related to #5249. |
We've run into a strange where records do not replicate in distributed mode. The only hint that something is wrong is when we see WARNI Cannot serialize record: 1 [ONetworkProtocolBinary] in the logs.
Trying to debug the problem, I've come across the following values:
2015-10-17 15:44:58:564 INFO /127.0.0.1:47358 - Read 100 bytes: 1com.orientechnologies.orient.core.sql.OCommandSQL'UPDATE #18:0 SET last_seen = 1445096698 [OChannelBinaryServer]
2015-10-17 15:44:58:635 INFO /127.0.0.1:47358 - Writing byte (1 byte): 0 [OChannelBinaryServer]
2015-10-17 15:44:58:635 INFO /127.0.0.1:47358 - Writing int (4 bytes): 2 [OChannelBinaryServer]
2015-10-17 15:44:58:635 INFO /127.0.0.1:47358 - Writing byte (1 byte): 108 [OChannelBinaryServer]
2015-10-17 15:44:58:635 INFO /127.0.0.1:47358 - Writing int (4 bytes): 1 [OChannelBinaryServer]
2015-10-17 15:44:58:636 WARNI Cannot serialize record: 1 [ONetworkProtocolBinary]
2015-10-17 15:44:58:636 INFO /127.0.0.1:47358 - Writing short (2 bytes): -2 [OChannelBinaryServer]
2015-10-17 15:44:58:636 INFO /127.0.0.1:47358 - Flush [OChannelBinaryServer]
2015-10-17 15:44:58:636 INFO /127.0.0.1:47358 - Reading byte (1 byte)... [OChannelBinaryServer]
2015-10-17 15:44:58:637 INFO /127.0.0.1:47358 - Read byte: 5 [OChannelBinaryServer]
2015-10-17 15:44:58:637 INFO /127.0.0.1:47358 - Reading int (4 bytes)... [OChannelBinaryServer]
2015-10-17 15:44:58:639 INFO /127.0.0.1:47358 - Read int: 2 [OChannelBinaryServer]
2015-10-17 15:44:58:639 INFO /127.0.0.1:47358 - Reading byte (1 byte)... [OChannelBinaryServer]
2015-10-17 15:44:58:639 INFO /127.0.0.1:47358 - Flush [OChannelBinaryServer]
2015-10-17 15:44:58:639 INFO /127.0.0.1:47358 - Closing socket... [OChannelBinaryServer]
The same query as comparison in single mode:
2015-10-17 15:58:02:749 INFO /127.0.0.1:47523 - Read 100 bytes: 1com.orientechnologies.orient.core.sql.OCommandSQL'UPDATE #18:0 SET last_seen = 1445097482 [OChannelBinaryServer]
2015-10-17 15:58:02:751 INFO /127.0.0.1:47523 - Writing byte (1 byte): 0 [OChannelBinaryServer]
2015-10-17 15:58:02:751 INFO /127.0.0.1:47523 - Writing int (4 bytes): 5 [OChannelBinaryServer]
2015-10-17 15:58:02:751 INFO /127.0.0.1:47523 - Writing byte (1 byte): 97 [OChannelBinaryServer]
2015-10-17 15:58:02:751 INFO /127.0.0.1:47523 - Writing string (4+1=5 bytes): 1 [OChannelBinaryServer]
2015-10-17 15:58:02:751 INFO /127.0.0.1:47523 - Flush [OChannelBinaryServer]
2015-10-17 15:58:02:751 INFO /127.0.0.1:47523 - Reading byte (1 byte)... [OChannelBinaryServer]
2015-10-17 15:58:02:752 INFO /127.0.0.1:47523 - Read byte: 5 [OChannelBinaryServer]
2015-10-17 15:58:02:752 INFO /127.0.0.1:47523 - Reading int (4 bytes)... [OChannelBinaryServer]
2015-10-17 15:58:02:752 INFO /127.0.0.1:47523 - Read int: 5 [OChannelBinaryServer]
2015-10-17 15:58:02:752 INFO /127.0.0.1:47523 - Reading byte (1 byte)... [OChannelBinaryServer]
2015-10-17 15:58:02:752 INFO /127.0.0.1:47523 - Flush [OChannelBinaryServer]
2015-10-17 15:58:02:752 INFO /127.0.0.1:47523 - Closing socket... [OChannelBinaryServer]
I am unable to pinpoint the problem. We've seen these errors arise since version 2.1.x, including the latest 2.1.4
The text was updated successfully, but these errors were encountered: