Titan/Janus graph strange consistency issues - Multiple edges with same edge id

40 views
Skip to first unread message

Rajib Sandilya

unread,
Dec 26, 2017, 12:58:53 PM12/26/17
to Aurelius
We are using Titan 1.0.0 with Cassandra version 3.9.0-1, from datastax-ddc on CentOs-7 system. We are seeing some strange issues, like:
  • Multiple edges with the same edge id, few properties on these edge do differ in values.

    g.V().has('msid', 6171699).outE('prio_child').has('hostid_e',153).as('e')inV().has('msid',58713376).select('e') ==>e[54ekdatm-1lezwb4-45cl-195s9km8][3471761488-prio_child->98305011872] ==>e[54ekdatm-1lezwb4-45cl-195s9km8][3471761488-prio_child->98305011872]

  • Getting more results, after applying more restrictions

    g.V().has('msid', 6171699).outE('prio_child').count()
    ==>60

    g.V().has('msid', 6171699).outE('prio_child').has('hostid_e, 153).count()
    ==>66

I have even tried setting ConsistencyModifier.LOCK, as suggested by Titan Documentation Eventually Consistent Backends, but it has not helped. I am still getting arbitrary results.


Misha Brukman

unread,
Dec 26, 2017, 4:37:07 PM12/26/17
to Rajib Sandilya, aureliu...@googlegroups.com
Hi Rajib,

You're using Titan 1.0.0 together with Cassandra 3.x, but that's not a compatible version combination: http://s3.thinkaurelius.com/docs/titan/1.0.0/version-compat.html — as you can see, Titan 1.0 only supports Cassandra 1.2.z, 2.0.z, and 2.1.z .

On the other hand, JanusGraph (which you mentioned in your subject line, but which you're not using) supports later Cassandra versions: http://docs.janusgraph.org/0.2.0/version-compat.html — namely, 3.0.z and 3.11.z (3.9 is not listed, but ought to work).

If you can reproduce this issue with JanusGraph, please file an issue on https://github.com/janusgraph/janusgraph/issues with a set of instructions to reproduce this issue, if you can narrow it down to a minimal example.

Misha

--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraphs+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/b602dfc8-a485-44ee-9ea4-bfe680fa4d45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages