sumitagrawl commented on code in PR #4683:
URL: https://github.com/apache/ozone/pull/4683#discussion_r1204281536
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMHAManagerImpl.java:
##########
@@ -67,6 +71,7 @@ public class SCMHAManagerImpl implements SCMHAManager {
// this should ideally be started only in a ratis leader
private final InterSCMGrpcProtocolService grpcServer;
+ private BackgroundSCMService trxBufferMonitorService = null;
Review Comment:
@szetszwo
SCMHAManagerImpl is initialized before SCMContext is created in scm object.
So BackgroundSCMService will have null scmContext.
To avoid this, its initialized during start of the service. Due to this
reason, it can not be final and need create during start() of the SCMHAManager
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]