szetszwo commented on code in PR #1332:
URL: https://github.com/apache/ratis/pull/1332#discussion_r2666020907
##########
ratis-server-api/src/main/java/org/apache/ratis/server/RaftServerConfigKeys.java:
##########
@@ -265,6 +265,17 @@ static void setWriteIndexCacheExpiryTime(RaftProperties
properties, TimeDuration
setTimeDuration(properties::setTimeDuration,
WRITE_INDEX_CACHE_EXPIRY_TIME_KEY, expiryTime);
}
}
+
+ interface ReadIndex {
+ String PREFIX = Read.PREFIX + ".read-index";
+
+ String READ_INDEX_USE_APPLIED_INDEX_ENABLED_KEY = PREFIX +
".use.applied-index.enabled";
Review Comment:
Let's remove `use`, i.e. `raft.server.read-index.applied-index.enabled`.
--
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]