poorbarcode commented on code in PR #18969:
URL: https://github.com/apache/pulsar/pull/18969#discussion_r1051564546


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/buffer/impl/TopicTransactionBuffer.java:
##########
@@ -646,6 +655,14 @@ public void run() {
                                     callBack.noNeedToRecover();
                                     return;
                                 }
+                            } catch (TimeoutException ex) {
+                                Throwable t = 
FutureUtil.unwrapCompletionException(ex);
+                                String errorMessage = String.format("[%s] 
Transaction buffer recover fail by read "
+                                        + "transactionBufferSnapshot 
timeout!", topic.getName());
+                                log.error(errorMessage, t);
+                                callBack.recoverExceptionally(
+                                        new 
BrokerServiceException.ServiceUnitNotReadyException(errorMessage, t));

Review Comment:
   Yes, Already fixed.



-- 
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]

Reply via email to