Hi. I’m running into a problem with my DGraph server, where it keeps freezing up for no apparent reason. I’m running it in a Docker container on a local host machine, and I have a client that interacts with it over HTTP.
Earlier, I was committing all transactions immediately by setting X-Dgraph-CommitNow in the header. Now, I am adding batch operations to my client. I maintain the transaction ID and list of transaction keys to commit later. In the process of developing this, sometimes I don’t commit transactions properly. For example, I might not send all the keys or not use the right start_ts in the URL. After a transaction that doesn’t get properly committed, my DGraph server stops responding to HTTP requests from my client. I need to destroy my Docker container and re-build to get it working again.
It might solve the problem if I told DGraph to clear the buffer of all uncommitted transactions, but I can’t figure out how to do that. I’m also not sure it’ll fix things. Any ideas on what I should do?