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

OrientDb serialization error on data read #9943

Open
sahirshahs opened this issue Mar 14, 2023 · 4 comments
Open

OrientDb serialization error on data read #9943

sahirshahs opened this issue Mar 14, 2023 · 4 comments
Milestone

Comments

@sahirshahs
Copy link

sahirshahs commented Mar 14, 2023

OrientDB Version: 3.2.2 base image in kubernetes container

Java Version: Orientdb 3.2.2 base image running on container

OS: Kubernetes running on Linux

Expected behavior

Actual behavior

OrientDb was running fine and issue started OrientDb suddenly. Read and write operation not working after this issue. Read and write operation throws error as mentioned below.

2023-02-27 10:38:04:817 WARNI {db=abbodb} Error deserializing record with id #13:1 send this data for debugging: Afo6BGlkgAEHSzRNOElKWHBfZ2xvYmFsRW52aXJvbm1lbnRWYXJpYWJsZXMuYXBpX2dhdGV3YXlfdXJsNgcecF9hcGlHYXRld2F5VXJsNgdAcF9zeXN0ZW1Nb2R1bGVzLmVkZ2UtcHJveHkuaW1hZ2XcAQdmcF9zeXN0ZW1Nb2R1bGVzLmVkZ2UtcHJveHkuY29uZmlndXJhdGlvbi5hcGlWZXJzaW9uBgeAAXBfc3lzdGVtTW9kdWxlcy5lZGdlLXByb3h5LmNvbmZpZ3VyYXRpb24ubWV0aG9kUmVxdWVzdEVucmljaG1lbnQCAIQBcF9zeXN0ZW1Nb2R1bGVzLmVkZ2UtcHJveHkuY29uZmlndXJhdGlvbi5kZXZpY2VBUEkuY29udGVudEVuY29kaW5nEAd4cF9zeXN0ZW1Nb2R1bGVzLmVkZ2UtcHJveHkuY29uZmlndXJhdGlvbi5mZWF0dXJlLkVkZ2VTZWNyZXRzAgCAAXBfc3lzdGVtTW9kdWxlcy5lZGdlLXByb3h5LmNvbmZpZ3VyYXRpb24uZmVhdHVyZS5Ccm9rZXJBbmFseXRpY3MCAEJwX3N5c3RlbU1vZHVsZX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uaWEuZWRnZS5tb2R1bGVzLmFzc2V0aHViYXBwQDE2YWJiLmlhLmVkZ2UubW9kdWxlcy5wYW1kc0AxQmFiYi5pYS5lZGdlLm1vZHVsZXMuYXNzZXRodWJhcGlAMUJhYmIuaWEuZWRnZS5tb2R1bGVzLm9wY3Vhc2VydmVyQDI4YWJiLmlhLmVkZ2UubW9kdWxlcy5zbGRhcHBAMThhYmIuaWEuZWFzc2V0Q3JpdGljYWxpdHkCKgphbGFybQZob3Q+YWJiLmFiaWxpdHkuYW0uYXNzZXRDcml0aWNhbGl0eQIqCmFsYXJtCHdhcm0+YWJiLmFiaWxpdHkuYW0uYXNzZXRDcml0aWNhbGl0eQIqugEwMjAyMy0wMi0yNlQxNjo0Nzo1OC40NDda [ORecordSerializerBinary]Response [ResponseMessage{requestId=875188cb-97a4-4a47-9685-dad6d1ff6247, status=ResponseStatus{code=PARTIAL_CONTENT, message='', attributes={}}, result=ResponseResult{data=[v[#13:0], v[#13:1], v[#13:2], v[#13:3], v[#13:4], v[#13:5], v[#13:6], v[#13:7], v[#13:8], v[#13:9], v[#13:10], v[#13:11], v[#13:12], v[#13:13], v[#13:14], v[#13:15], v[#13:16], v[#13:17], v[#13:18], v[#13:19], v[#13:20], v[#13:21], v[#13:22], v[#13:23], v[#13:24], v[#13:25], v[#13:26], v[#13:27], v[#13:28], v[#13:29], v[#13:30], v[#13:31], v[#13:32], v[#13:33], v[#13:34], v[#13:35], v[#13:36], v[#13:37], v[#13:38], v[#13:39], v[#13:40], v[#13:41], v[#13:42], v[#13:43], v[#13:44], v[#13:45], v[#13:46], v[#13:47], v[#13:48], v[#13:49], v[#13:52], v[#13:53], v[#13:54], v[#13:55], v[#13:56], v[#13:57], v[#13:58], v[#13:59], v[#13:60], v[#13:61], v[#13:62], v[#13:63], v[#13:64], v[#13:65]], meta={}}}] could not be serialized by org.apache.tinkerpop.gremlin.driver.ser.AbstractGraphSONMessageSerializerV2d0.
org.apache.tinkerpop.shaded.jackson.databind.JsonMappingException: String index out of range: -49
at org.apache.tinkerpop.shaded.jackson.databind.ser.DefaultSerializerProvider._wrapAsIOE(DefaultSerializerProvider.java:509)
at org.apache.tinkerpop.shaded.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:482)
at org.apache.tinkerpop.shaded.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319)
at org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:2656)
at org.apache.tinkerpop.shaded.jackson.core.base.GeneratorBase.writeObject(GeneratorBase.java:381)
at org.apache.tinkerpop.gremlin.structure.io.graphson.JavaUtilSerializersV3d0$ListJacksonSerializer.serialize(JavaUtilSerializersV3d0.java:127)
at org.apache.tinkerpop.gremlin.structure.io.graphson.JavaUtilSerializersV3d0$ListJacksonSerializer.serializeWithType(JavaUtilSerializersV3d0.java:135)
at org.apache.tinkerpop.gremlin.structure.io.graphson.JavaUtilSerializersV3d0$ListJacksonSerializer.serializeWithType(JavaUtilSerializersV3d0.java:118)
at org.apache.tinkerpop.shaded.jackson.databind.ser.impl.TypeWrappedSerializer.serialize(TypeWrappedSerializer.java:32)
at org.apache.tinkerpop.gremlin.driver.ser.AbstractGraphSONMessageSerializerV2d0$ResponseMessageSerializer.ser(AbstractGraphSONMessageSerializerV2d0.java:277)
at org.apache.tinkerpop.gremlin.driver.ser.AbstractGraphSONMessageSerializerV2d0$ResponseMessageSerializer.serializeWithType(AbstractGraphSONMessageSerializerV2d0.java:251)
at org.apache.tinkerpop.gremlin.driver.ser.AbstractGraphSONMessageSerializerV2d0$ResponseMessageSerializer.serializeWithType(AbstractGraphSONMessageSerializerV2d0.java:236)
at org.apache.tinkerpop.shaded.jackson.databind.ser.impl.TypeWrappedSerializer.serialize(TypeWrappedSerializer.java:32)
at org.apache.tinkerpop.shaded.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480)
at org.apache.tinkerpop.shaded.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319)
at org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:3906)
at org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper.writeValueAsBytes(ObjectMapper.java:3244)
at org.apache.tinkerpop.gremlin.driver.ser.AbstractGraphSONMessageSerializerV2d0.serializeResponseAsBinary(AbstractGraphSONMessageSerializerV2d0.java:86)
at org.apache.tinkerpop.gremlin.server.op.AbstractOpProcessor.makeFrame(AbstractOpProcessor.java:335)
at org.apache.tinkerpop.gremlin.server.op.AbstractOpProcessor.handleIterator(AbstractOpProcessor.java:154)
at org.apache.tinkerpop.gremlin.server.op.AbstractEvalOpProcessor.lambda$evalOpInternal$5(AbstractEvalOpProcessor.java:264)
at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.lambda$eval$0(GremlinExecutor.java:278)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -49
at java.lang.String.checkBounds(String.java:381)
at java.lang.String.(String.java:425)
at com.orientechnologies.orient.core.serialization.serializer.record.binary.HelperClasses.stringFromBytes(HelperClasses.java:169)
at com.orientechnologies.orient.core.serialization.serializer.record.binary.HelperClasses.readString(HelperClasses.java:137)
at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV1.deserializeValue(ORecordSerializerBinaryV1.java:776)
at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV1.deserializeValue(ORecordSerializerBinaryV1.java:746)
at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV1.deserializePartial(ORecordSerializerBinaryV1.java:156)
at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinary.fromStream(ORecordSerializerBinary.java:102)
at com.orientechnologies.orient.core.record.impl.ODocument.deserializeFields(ODocument.java:2429)
at com.orientechnologies.orient.core.record.impl.ODocument.checkForFields(ODocument.java:3265)
at com.orientechnologies.orient.core.record.impl.ODocument.accessProperty(ODocument.java:3271)
at com.orientechnologies.orient.core.record.impl.ODocumentHelper.getIdentifiableValue(ODocumentHelper.java:810)
at com.orientechnologies.orient.core.record.impl.ODocument.getProperty(ODocument.java:394)
at org.apache.tinkerpop.gremlin.orientdb.OrientElement.lambda$properties$2(OrientElement.java:99)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1601)
at java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:295)
at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:207)
at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:170)
at java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:301)
at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1811)
at java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:295)
at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:207)
at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:170)
at java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:301)
at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
at java.util.Iterator.forEachRemaining(Iterator.java:115)
at org.apache.tinkerpop.gremlin.structure.Element.keys(Element.java:69)
at org.apache.tinkerpop.gremlin.structure.io.graphson.GraphSONSerializersV3d0$VertexJacksonSerializer.writeProperties(GraphSONSerializersV3d0.java:111)
at org.apache.tinkerpop.gremlin.structure.io.graphson.GraphSONSerializersV3d0$VertexJacksonSerializer.serialize(GraphSONSerializersV3d0.java:104)
at org.apache.tinkerpop.gremlin.structure.io.graphson.GraphSONSerializersV3d0$VertexJacksonSerializer.serialize(GraphSONSerializersV3d0.java:88)
at org.apache.tinkerpop.shaded.jackson.databind.ser.std.StdScalarSerializer.serializeWithType(StdScalarSerializer.java:46)
at org.apache.tinkerpop.shaded.jackson.databind.ser.impl.TypeWrappedSerializer.serialize(TypeWrappedSerializer.java:32)
at org.apache.tinkerpop.shaded.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480)
... 26 more
The result [[v[#13:0], v[#13:1], v[#13:2], v[#13:3], v[#13:4], v[#13:5], v[#13:6], v[#13:7], v[#13:8], v[#13:9], v[#13:10], v[#13:11], v[#13:12], v[#13:13], v[#13:14], v[#13:15], v[#13:16], v[#13:17], v[#13:18], v[#13:19], v[#13:20], v[#13:21], v[#13:22], v[#13:23], v[#13:24], v[#13:25], v[#13:26], v[#13:27], v[#13:28], v[#13:29], v[#13:30], v[#13:31], v[#13:32], v[#13:33], v[#13:34], v[#13:35], v[#13:36], v[#13:37], v[#13:38], v[#13:39], v[#13:40], v[#13:41], v[#13:42], v[#13:43], v[#13:44], v[#13:45], v[#13:46], v[#13:47], v[#13:48], v[#13:49], v[#13:52], v[#13:53], v[#13:54], v[#13:55], v[#13:56], v[#13:57], v[#13:58], v[#13:59], v[#13:60], v[#13:61], v[#13:62], v[#13:63], v[#13:64], v[#13:65]]] in the request 875188cb-97a4-4a47-9685-dad6d1ff6247 could not be serialized and returned.

Steps to reproduce

I couldn't identify the exact steps to reproduce the issue as it started sudden.

Export operation also failing with the below error for one record .

Started export of database 'abbodb' to C:\Docker\abbodb.export.gz...
Exporting database info...OK
Exporting clusters...OK (17 clusters)
Exporting schema...OK (25 classes)
Exporting records...

  • Cluster 'internal' (id=0)...OK (records=3/3)
  • Cluster 'index' (id=1)...OK (records=0/0)
  • Cluster 'manindex' (id=2)...OK (records=0/0)
  • Cluster 'default' (id=3).............OK (records=51/51)
  • Cluster 'osecuritypolicy' (id=4)...OK (records=4/4)
  • Cluster 'orole' (id=5)...OK (records=3/3)
  • Cluster 'ouser' (id=6)...OK (records=1/1)
  • Cluster 'ofunction' (id=7)...OK (records=0/0)
  • Cluster 'osequence' (id=8)...OK (records=0/0)
  • Cluster 'oschedule' (id=9)...OK (records=0/0)
  • Cluster 'v' (id=10)...OK (records=0/0)
  • Cluster 'e' (id=11)...OK (records=0/0)
  • Cluster 'object' (id=12)..............OK (records=55/55)
  • Cluster 'object_model' (id=13)...Error on fetching record during browsing. The record has been skipped
    com.orientechnologies.orient.core.exception.ODatabaseException: Error on retrieving record Support browseClass and browseCluster from console tool [moved] #13:1 (cluster: object_model) DB name="abbodb"
    at com.orientechnologies.orient.core.db.document.ODatabaseDocumentRemote.executeReadRecord(ODatabaseDocumentRemote.java:789)
    at com.orientechnologies.orient.core.db.document.ODatabaseDocumentAbstract.load(ODatabaseDocumentAbstract.java:278)
    at com.orientechnologies.orient.core.db.document.ODatabaseDocumentAbstract.load(ODatabaseDocumentAbstract.java:133)
    at com.orientechnologies.orient.core.iterator.OIdentifiableIterator.readCurrentRecord(OIdentifiableIterator.java:281)
    at com.orientechnologies.orient.core.iterator.ORecordIteratorCluster.hasNext(ORecordIteratorCluster.java:151)
    at com.orientechnologies.orient.core.db.tool.ODatabaseExport.exportRecords(ODatabaseExport.java:228)
    at com.orientechnologies.orient.core.db.tool.ODatabaseExport.exportDatabase(ODatabaseExport.java:140)
    at com.orientechnologies.orient.console.OConsoleDatabaseApp.exportDatabase(OConsoleDatabaseApp.java:2706)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at com.orientechnologies.common.console.OConsoleApplication.execute(OConsoleApplication.java:456)
    at com.orientechnologies.common.console.OConsoleApplication.executeCommands(OConsoleApplication.java:283)
    at com.orientechnologies.common.console.OConsoleApplication.run(OConsoleApplication.java:144)
    at com.orientechnologies.orient.console.OConsoleDatabaseApp.main(OConsoleDatabaseApp.java:161)
    Caused by: com.orientechnologies.orient.core.exception.OStorageException: Error on read record Support browseClass and browseCluster from console tool [moved] #13:1
    DB name="abbodb"
    at com.orientechnologies.orient.client.remote.OStorageRemote.baseNetworkOperation(OStorageRemote.java:518)
    at com.orientechnologies.orient.client.remote.OStorageRemote.networkOperationRetryTimeout(OStorageRemote.java:370)
    at com.orientechnologies.orient.client.remote.OStorageRemote.networkOperation(OStorageRemote.java:410)
    at com.orientechnologies.orient.client.remote.OStorageRemote.readRecord(OStorageRemote.java:830)
    at com.orientechnologies.orient.core.db.document.SimpleRecordReader.readRecord(SimpleRecordReader.java:24)
    at com.orientechnologies.orient.core.db.document.ODatabaseDocumentRemote.executeReadRecord(ODatabaseDocumentRemote.java:748)
    ... 15 more
    Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -49
    at java.lang.String.checkBounds(String.java:381)
    at java.lang.String.(String.java:425)
    at com.orientechnologies.orient.core.serialization.serializer.record.binary.HelperClasses.stringFromBytes(HelperClasses.java:169)
    at com.orientechnologies.orient.core.serialization.serializer.record.binary.HelperClasses.readString(HelperClasses.java:137)
    at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV1.deserializeValue(ORecordSerializerBinaryV1.java:776)
    at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV1.deserializeValue(ORecordSerializerBinaryV1.java:746)
    at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV1.deserialize(ORecordSerializerBinaryV1.java:292)
    at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinary.fromStream(ORecordSerializerBinary.java:103)
    at com.orientechnologies.orient.core.record.impl.ODocument.deserializeFields(ODocument.java:2429)
    at com.orientechnologies.orient.server.OConnectionBinaryExecutor.getRecordBytes(OConnectionBinaryExecutor.java:1297)
    at com.orientechnologies.orient.server.OConnectionBinaryExecutor.executeReadRecord(OConnectionBinaryExecutor.java:323)
    at com.orientechnologies.orient.client.remote.message.OReadRecordRequest.execute(OReadRecordRequest.java:98)
    at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.sessionRequest(ONetworkProtocolBinary.java:355)
    at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.execute(ONetworkProtocolBinary.java:239)
    at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:67)
    ..........OK (records=115/116)
  • Cluster 'has_model' (id=14).............OK (records=116/116)
  • Cluster 'reference' (id=15)..............OK (records=46/46)
  • Cluster '_studio' (id=16)...OK (records=3/3)

Done. Exported 397 of total 398 records. 1 records were detected as broken

Exporting index info...

  • Index OFunction.name...OK
  • Index object.s_objectId...OK
  • Index ORole.name...OK
  • Index OSecurityPolicy.name...OK
  • Index OUser.name...OK
    OK (5 indexes)
    Exporting manual indexes content...
    OK (0 manual indexes)

Database export completed in 99068ms

@tglman
Copy link
Member

tglman commented Mar 14, 2023

Hi,

This look like for some reason a record in the database got broken, the easy workaround to recover from this, is to re-import the export that you have done and will be all there with only one missing record, or if you have a backup at am earlier date just restore from there.

We will check the debug info and see if there is a way to identify what happened, from the first look at the log, it seems that while reading a string field it fail because there is some wrong size written in there, but the root cause would be something else.

We do suggest as well to update to a more recent version, I'm aware on fixes of durability in 3.2.6 and 3.2.8 so definitely go on the latest hotfix to cover all of the,

Regards

@tglman tglman added this to the 3.2.x milestone Mar 14, 2023
@sahirshahs
Copy link
Author

sahirshahs commented Mar 15, 2023

Thanks for the response.
But i am stuck because of this issue now, i was trying to export and import as you suggested. But that step also not working and getting the same index error.
-Unable to delete the record (delete from object_model where @Rid = #13:1)
Error: com.orientechnologies.common.io.OIOException

      Error: java.io.EOFException

-Unable to import bcoz of the error in screenshot.

-It would be a great help if someone can identify the root cause of this issue based on the logs or error type, so that i can make sure it not happening.

Because of all these blocks the database unusable now. It would be helpful if i am getting a solution to recover from this state.

-the below screenshot shows the corrupted record
orientdberror2

orientdberror

@sahirshahs
Copy link
Author

As you (@tglman ) suggested, i am planning to upgrade the orientdb 3.2.2 to 3.2.16.
Could you please confirm whether direct migration is possible? And also that will it resolve the serialization issues i have reported in this thread?

@tglman , @Laa

@tglman
Copy link
Member

tglman commented Apr 17, 2023

Hi @sahirshahs,

The migration is indeed possible, the problem with the specific corrupted record it will not be probably solved by the migration, the corrupted record could be caused by many reasons, even a corruption at disk level, so for this specific case will be better try to export the database ignoring the specific record.

Regards

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

2 participants