Titan data corruption

大城市里の小女人 提交于 2019-12-22 12:17:21

问题


I get an exception when calling com.tinkerpop.blueprints.Edge.getLabel on some vertex edges :

 java.lang.IllegalStateException: Could not find type for id: 630
        at com.google.common.base.Preconditions.checkState(Preconditions.java:200)
        at com.thinkaurelius.titan.graphdb.types.vertices.TitanTypeVertex.getName(TitanTypeVertex.java:30)
        at com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx$VertexConstructor.get(StandardTitanTx.java:321)

I can solve this issue by removing all vertex and start over, but we obviously don't want to do that in production.

This error seems to occur when there is a data corruption but I don't have any idea why it happens : I don't know if it's data which are corruped or type schemas.

Does anyone know the possible causes for this error/corruption and know who it can be repaired softly?

The backend I’m using is cassandra.

来源:https://stackoverflow.com/questions/26996285/titan-data-corruption

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!