adoroszlai opened a new pull request, #10654:
URL: https://github.com/apache/ozone/pull/10654

   ## What changes were proposed in this pull request?
   
   Refactor SCM `StatefulService` to allow using its static metadata (name, 
parser) without instantiating the service or duplicating code in `DBScanner`.
   
   Add support for Container Balancer and Root CA Rotation Manager services in 
`DBScanner`.
   
   https://issues.apache.org/jira/browse/HDDS-15730
   
   ## How was this patch tested?
   
   ```
   $ ozone admin containerbalancer start
   Container Balancer started successfully.
   
   $ ozone debug ldb --db=/data/metadata/scm.db scan --cf=statefulServiceConfig
   { "ContainerBalancer": {
     "memoizedHashCode" : 0,
     "memoizedSize" : -1,
     "unknownFields" : {
       "fields" : { }
     },
     "bitField0_" : 262143,
     "utilizationThreshold_" : {
       "hash" : 0,
       "bytes" : "MTA="
     },
     "datanodesInvolvedMaxPercentagePerIteration_" : 20,
     "sizeMovedMaxPerIteration_" : 536870912000,
     "sizeEnteringTargetMax_" : 27917287424,
     "sizeLeavingSourceMax_" : 27917287424,
     "iterations_" : 10,
     "excludeContainers_" : {
       "hash" : 0,
       "bytes" : ""
     },
     "moveTimeout_" : 3900000,
     "balancingIterationInterval_" : 4200000,
     "includeDatanodes_" : {
       "hash" : 0,
       "bytes" : ""
     },
     "excludeDatanodes_" : {
       "hash" : 0,
       "bytes" : ""
     },
     "moveNetworkTopologyEnable_" : false,
     "triggerDuBeforeMoveEnable_" : false,
     "shouldRun_" : false,
     "nextIterationIndex_" : 0,
     "moveReplicationTimeout_" : 3000000,
     "includeContainers_" : {
       "hash" : 0,
       "bytes" : ""
     },
     "includeNonStandardContainers_" : false,
     "memoizedIsInitialized" : 1
   }
    }
   ```
   
   https://github.com/adoroszlai/ozone/actions/runs/28643243287


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

Reply via email to