eolivelli commented on code in PR #3548:
URL: https://github.com/apache/bookkeeper/pull/3548#discussion_r998993991
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerOpenOp.java:
##########
@@ -86,6 +88,7 @@ public LedgerOpenOp(BookKeeper bk, BookKeeperClientStats
clientStats,
this.enableDigestAutodetection =
bk.getConf().getEnableDigestTypeAutodetection();
this.suggestedDigestType = digestType;
this.openOpLogger = clientStats.getOpenOpLogger();
+ this.scheduler =
OrderedScheduler.newSchedulerBuilder().numThreads(1).name("LedgerOpenOp").build();
Review Comment:
we cannot start a new thread per each LederOpenOp
if the BK client closes all the pending operations must fail somehow. we
should fix that
otherwise there will be other operations that will never complete
--
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]