Re: Janusgraph embedded multi instance(JVM) data sync issue


Pawan Shriwas
 

Hi Marc,

Thanks for your suggestion,

However I am testing it on a local environment having a single replication factor. I believe if the replication factor is one then in all cases it should give me the same data/information in other instances as well. 

Screenshot 2022-01-23 at 5.11.26 PM.png

see below local property file information

gremlin.graph=org.janusgraph.core.JanusGraphFactory
storage.backend=cql
storage.hostname=127.0.0.1
storage.cql.keyspace=janusgraph
storage.port=9042
schema.constraints=true
############ CQL Properties ############

storage.cql.read-consistency-level=LOCAL_QUORUM
storage.cql.write-consistency-level=LOCAL_QUORUM
storage.cql.replication-factor=1

Please see attached API code in for create update and get for local sample application. Let me know if something is wrong here because that refresh of data is not working on another embedded instance with the same configuration.

Thanks,
Pawan
 

On Thu, Jan 20, 2022 at 12:44 PM <hadoopmarc@...> wrote:
Hi Pawan,

You are right, if issues already arise without index, you should investigate that first, even though a large graph without indices is useless in itself.
See the third question from Boxuan Li above, in particular:
https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlAboutDataConsistency.html

Best wishes,   Marc



--
Thanks & Regard

PAWAN SHRIWAS

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.