I’ve used dgo v1 for following procedure (basically trying to upsert data) and it works fine. When I upgrade to v2 (for dgraph 1.1.0 server) it gives me “Transaction has already been committed or discarded” error. Anyone knows what cause it? Thank you!
Can you share a complete code example? It’s not clear why the error is happening. If this is the only client code that’s running, then either txn.Commit(ctx) or txn.Discard(ctx) were called by the client.