What does this error mean?
Especially, what do they mean by : Please try again
Does it mean that the transaction failed I have to re-run the transaction manually? From what I understood from the documentation,
The transaction read a document that was modified outside of the transaction. In this case, the transaction automatically runs again. The transaction is retried a finite number of times.
If so, on which documents? The error do not indicate which document it is talking about. I just get this stack:
{ Error: 10 ABORTED: Too much contention on these documents. Please try again. at Object.exports.createStatusErrornode_modules\grpc\src\common.js:87:15) at ClientReadableStream._emitStatusIfDone \node_modules\grpc\src\client.js:235:26) at ClientReadableStream._receiveStatus \node_modules\grpc\src\client.js:213:8) at Object.onReceiveStatus \node_modules\grpc\src\client_interceptors.js:1256:15) at InterceptingListener._callNext node_modules\grpc\src\client_interceptors.js:564:42) at InterceptingListener.onReceiveStatus\node_modules\grpc\src\client_interceptors.js:614:8) at C:\Users\Tolotra Samuel\PhpstormProjects\CryptOcean\node_modules\grpc\src\client_interceptors.js:1019:24 code: 10, metadata: Metadata { _internal_repr: {} }, details: 'Too much contention on these documents. Please try again.' }
To recreate this error, just run a for loop on the db.runTransaction method as indicated on the documentation