guihecheng commented on a change in pull request #479:
URL: https://github.com/apache/ratis/pull/479#discussion_r643623331
##########
File path:
ratis-server-api/src/main/java/org/apache/ratis/server/RaftServerConfigKeys.java
##########
@@ -51,6 +51,16 @@ static void setStorageDir(RaftProperties properties,
List<File> storageDir) {
setFiles(properties::setFiles, STORAGE_DIR_KEY, storageDir);
}
+ String STORAGE_SPACE_RESERVED_KEY = PREFIX + ".storage.space.reserved";
Review comment:
Hmmm..., but 'min' or 'required' does not match the meaning of this
config?
The space configured here is reserved for final snapshot usage,
but 'min' or 'required' seems to configure some space for server to consume.
|---------------for server to consume-------------------| ~reserved~ |
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]