is it possible to minimalize this kind of error - Transaction is too old?
I do several concurrent transaction with JavaScript client. (parallel = 10).
I can handle it and repeat request, but I’m curious and want to improve performance.
Are you seeing them once in a while, and on a repeat they go away, or they just continue to happen indefinitely? When mutations are happening, and we discard older versions, then if a txn tries to read the older version, we tell it to retry. That’s what’s happening here.
I would like to use dGraph with AWS Lambda.
During my test I got another error: Error: 13 INTERNAL: GOAWAY received.
Is there any limit on how many clients can connect or what this error mean?
Sent by servers to clients to indicate that they will no longer accept any new streams on the associated connections. This frame includes the id of the last successfully accepted stream by the server. Clients should consider any stream initiated after the last successfully accepted stream as UNAVAILABLE and retry the call elsewhere. Clients are free to continue working with the already accepted streams until they complete or the connection is terminated.
Servers should send GOAWAY before terminating a connection to reliably inform clients which work has been accepted by the server and is being executed.