Question about normal vs. ludicrous mode.
I implemented an upsert (Query+Mutation) using the Go client. My implementation follows this example very closely: dgraph/main.go at master · dgraph-io/dgraph · GitHub. Following the example code, the upsert logic uses Txn.The upserts are executed in parallel and working fine in normal mode.
Now to speed up my indexing process, I enabled ludicrous mode. Now the upserts fail with the error message “StartTs mismatch”. From the docs, I take it I cannot use Txn while running DGraph in ludicrous mode. Unfortunately, all the other examples I find for doing upserts using the Golang client (here for example: GitHub - dgraph-io/dgo: Official Dgraph Go client) are using Txn.
How would I go about implementing upserts using the Go client while running DGraph in ludicrous mode?
Thanks for the advice.