Details
-
Improvement
-
Status: Resolved
-
Medium
-
Resolution: Done
-
None
-
None
-
None
-
None
Description
JsonRpcTX can provide more info when commit failed. Current implementation :
final Throwable failure = new TransactionCommitFailedException(
"Commit of transaction " + getIdentifier() + " failed");
listeners.forEach(txListener -> txListener.onFailure(this, failure));
return FluentFutures.immediateFailedFluentFuture(failure);
We can instead attempt to call error RPC to get more details
Attachments
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 80280,1 | JSONRPC-27 : Provide more info when commit failed | master | jsonrpc | Status: MERGED | +2 | +1 |
| 80282,1 | JSONRPC-27 : Provide more info when commit failed | stable/neon | jsonrpc | Status: MERGED | +2 | +1 |