keith-turner commented on code in PR #6153:
URL: https://github.com/apache/accumulo/pull/6153#discussion_r2854600469
##########
server/manager/src/main/java/org/apache/accumulo/manager/Manager.java:
##########
@@ -932,18 +939,26 @@ public void run() {
// when a hot-standby
//
// Start the Manager's Fate Service
- fateServiceHandler = new FateServiceHandler(this);
- managerClientHandler = new ManagerClientServiceHandler(this);
+ FateService.Iface fateServiceHandler =
+ HighlyAvailableServiceWrapper.service(new FateServiceHandler(this),
this);
+ ManagerClientService.Iface managerClientHandler =
+ HighlyAvailableServiceWrapper.service(new
ManagerClientServiceHandler(this), this);
compactionCoordinator = new CompactionCoordinator(this, this::fateClient);
+ CompactionCoordinatorService.Iface wrappedCoordinator =
+
HighlyAvailableServiceWrapper.service(compactionCoordinator.getThriftService(),
this);
var processor = ThriftProcessorTypes.getManagerTProcessor(this,
fateServiceHandler,
- compactionCoordinator.getThriftService(), managerClientHandler,
getContext());
+ wrappedCoordinator, managerClientHandler, getContext());
try {
updateThriftServer(() -> {
Review Comment:
I can look into removing that.
--
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]