[ https://issues.apache.org/jira/browse/RATIS-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17849210#comment-17849210 ]
Xinyu Tan commented on RATIS-2097: ---------------------------------- [~szetszwo] Hi, I have completed the related code and added the corresponding tests. From a compatibility perspective, enabling or disabling this parameter should not affect the recovery of the metadata entries that have already been written to disk. Therefore, it seems that adding a special condition during the write process should suffice. If there are any corner cases that I haven't considered, please let me know. > Add a conf to enable/disable Metadata entries > --------------------------------------------- > > Key: RATIS-2097 > URL: https://issues.apache.org/jira/browse/RATIS-2097 > Project: Ratis > Issue Type: Improvement > Reporter: Tsz-wo Sze > Assignee: Xinyu Tan > Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > The metadata entry feature, added by RATIS-352, is for persisting the commit > index. Then, a server can be recovered even if a majority of servers are > dead. This feature may not be needed for some applications. -- This message was sent by Atlassian Jira (v8.20.10#820010)