poorbarcode commented on code in PR #16758:
URL: https://github.com/apache/pulsar/pull/16758#discussion_r947576077
##########
pulsar-transaction/coordinator/src/main/java/org/apache/pulsar/transaction/coordinator/impl/TxnLogBufferedWriter.java:
##########
@@ -217,9 +224,9 @@ public void asyncAddData(T data, AddDataCallback callback,
Object ctx){
// Avoid missing callback, do failed callback when error occur
before add data to the array.
int recordsCountAfter = dataArray.size();
if (recordsCountAfter == recordsCountBeforeAdd){
- callback.addFailed(new
ManagedLedgerException.ManagedLedgerFencedException(e), ctx);
+ callback.addFailed(new ManagedLedgerInterceptException(e),
ctx);
Review Comment:
Hi @asafm @codelipenghui
Since this PR is already too large, I will create a new Exception in the
following PR to solve it. Thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]