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

Josh Elser commented on RATIS-317:
----------------------------------

{quote}The question is why we should store anything in the state machine as 
well as why we need to have special messages. Which kind of enhancement do we 
expect in the future?
{quote}
State kept inside StateMachine could be related to metadata about the edits in 
the Raft log e.g. a Map<Region/Table,Long> counting the number of edits per 
Table or per Region, the number of edits in the WAL, or maybe the range of 
timestamps on the edits contained within.

I think we definitely have use-cases from HBase which we could use to leverage 
this the ability to store some arbitrary data with the Log.

> Log service state machine
> -------------------------
>
>                 Key: RATIS-317
>                 URL: https://issues.apache.org/jira/browse/RATIS-317
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>            Priority: Major
>         Attachments: RATIS-317-v1.patch, RATIS-317-v2.patch, 
> RATIS-317-v3.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to