firstly ,thanks a lot for answering my questions Michel Conrado
first question:
io.dgraph.DgraphException: startTs mismatch
as i use java client to add Nquads I meet this problem, it seems a timestamp error But i can not figure out it
second question
io.dgraph.TxnFinishedException: Transaction has already been committed or discarded
at io.dgraph.DgraphClient$Transaction.mutate(DgraphClient.java:240)
at com.onedns.dgraph.InsertTest$1.run(InsertTest.java:233)
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)
I konw a little about this question , I seems the transaction has been closed when I use it , then I read your source code of java client . there is something not clear , i can understan when the transaction will invoke a commond , and after the transcantion invoke the commond , it is deperated ? does it mean I must create a new transaction for each query or mutation ? if that , I think it will slow down the speed of my mutation .
I have test my java code , the high speed is only 80 qps , is really so slow so i wonder if i can use dgraph bulk to put new data, but dgraph bulk can check data already exist !
one more thing,which do you think take a lot of time , mutation or query ? do you have a batch query?
third question
after some failure test ,my graph has a lot of wrong data , so I want to have a java api for clear all data, do you have one ? or use the dgraph-ratel ?
last question
while lexing { bladerunner(func: allofterms(ipname, “52.52.146.241”)) { uid ipname } } }: Too many right curl
this problem happens when i try to query on graph-ratel ? what’s the problem ?
can you really understand my poor english ?