In datastore we have ABORTED among retryable exceptions. This causes commit requests failed due to contention to be retried. Retrying an ABORTED transaction always fails with INVALID ARGUMENT error.
I suggest we never retry ABORTED. \cc @aozarov @ajkannan