[ 
https://issues.apache.org/jira/browse/HDDS-6551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17531495#comment-17531495
 ] 

Siddhant Sangwan commented on HDDS-6551:
----------------------------------------

The current use case is Container Balancer HA. We need a way to persist 
balancer's configurations and state and replicate it to followers. Balancer can 
extend the StatefulService class, create its own protobuf message with the 
configs that need to be saved, and then use this API to persist the proto in 
RocksDB in all the SCMs. When there's a failover, balancer can pick up these 
configs in the new leader and start again.

We're trying to make this API generic enough for any SCMService to use.

> Introduce StatefulService in scm
> --------------------------------
>
>                 Key: HDDS-6551
>                 URL: https://issues.apache.org/jira/browse/HDDS-6551
>             Project: Apache Ozone
>          Issue Type: New Feature
>          Components: SCM
>            Reporter: Siddhant Sangwan
>            Assignee: Siddhant Sangwan
>            Priority: Major
>              Labels: pull-request-available
>
> A StatefulService is an SCMService with an API to persist and read 
> configuration to RocksDB and replicate it through RATIS. The configuration 
> would be provided as a Protobuf message.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to